public SearchPageRepository::getActiveSearchPages()
Returns all active search page entities.
Return value
\Drupal\search\SearchPageInterface[] An array of active search page entities.
Overrides SearchPageRepositoryInterface::getActiveSearchPages
File
- core/modules/search/src/SearchPageRepository.php, line 43
Class
- SearchPageRepository
- Provides a repository for Search Page config entities.
Namespace
Drupal\search
Code
public function getActiveSearchPages() { $ids = $this->getQuery() ->condition('status', TRUE) ->execute(); return $this->storage->loadMultiple($ids); }
Please login to continue.