public function SearchPageRepositoryInterface::sortSearchPages in Drupal 9
Same name and namespace in other branches
- 8 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);