function SearchPageRepositoryInterface::sortSearchPages

Same name in other branches
  1. 9 core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::sortSearchPages()
  2. 8.9.x core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::sortSearchPages()
  3. 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.

File

core/modules/search/src/SearchPageRepositoryInterface.php, line 66

Class

SearchPageRepositoryInterface
Provides the interface for a repository Search Page entities.

Namespace

Drupal\search

Code

public function sortSearchPages($search_pages);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.