function SearchPageRepositoryInterface::sortSearchPages
Same name in other branches
- 9 core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::sortSearchPages()
- 10 core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::sortSearchPages()
- 11.x core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::sortSearchPages()
Sorts a list of search pages.
Parameters
\Drupal\search\SearchPageInterface[] $search_pages: The unsorted list of search pages.
Return value
\Drupal\search\SearchPageInterface[] The sorted list of search pages.
1 method overrides SearchPageRepositoryInterface::sortSearchPages()
- SearchPageRepository::sortSearchPages in core/
modules/ search/ src/ SearchPageRepository.php - Sorts a list of search pages.
File
-
core/
modules/ search/ src/ SearchPageRepositoryInterface.php, line 66
Class
- SearchPageRepositoryInterface
- Provides the interface for a repository Search Page entities.
Namespace
Drupal\searchCode
public function sortSearchPages($search_pages);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.