function SearchPageRepository::getIndexableSearchPages
Same name in other branches
- 8.9.x core/modules/search/src/SearchPageRepository.php \Drupal\search\SearchPageRepository::getIndexableSearchPages()
- 10 core/modules/search/src/SearchPageRepository.php \Drupal\search\SearchPageRepository::getIndexableSearchPages()
- 11.x core/modules/search/src/SearchPageRepository.php \Drupal\search\SearchPageRepository::getIndexableSearchPages()
Overrides SearchPageRepositoryInterface::getIndexableSearchPages
File
-
core/
modules/ search/ src/ SearchPageRepository.php, line 63
Class
- SearchPageRepository
- Provides a repository for Search Page config entities.
Namespace
Drupal\searchCode
public function getIndexableSearchPages() {
return array_filter($this->getActiveSearchPages(), function (SearchPageInterface $search) {
return $search->isIndexable();
});
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.