Search for _sort_

  1. Search 7.x for _sort_
  2. Search 9.5.x for _sort_
  3. Search 8.9.x for _sort_
  4. Search 10.3.x for _sort_
  5. Other projects
Title Object type File name Summary
RendererTest::testRenderSortingWithSetHashSorted function core/tests/Drupal/Tests/Core/Render/RendererTest.php Tests render sorting with set hash sorted.
ResourceResponseTestTrait::sortOmittedLinks function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Sorts an omitted link object array by href.
ResourceResponseTestTrait::sortResourceCollection function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Sorts a collection of resources or resource identifiers.
ResponsiveImageStyle::sortMappings function core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php Sort mappings by breakpoint ID and multiplier.
RouteProcessorManager::$sortedOutbound property core/lib/Drupal/Core/RouteProcessor/RouteProcessorManager.php Holds the array of outbound processors, sorted by priority.
RouteProcessorManager::sortProcessors function core/lib/Drupal/Core/RouteProcessor/RouteProcessorManager.php Sorts the processors according to priority.
SearchPageRepository::sortSearchPages function core/modules/search/src/SearchPageRepository.php Sorts a list of search pages.
SearchPageRepositoryInterface::sortSearchPages function core/modules/search/src/SearchPageRepositoryInterface.php Sorts a list of search pages.
SearchPageRepositoryTest::testSortSearchPages function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Tests the sortSearchPages() method.
SearchTextProcessorTest class core/modules/search/tests/src/Kernel/SearchTextProcessorTest.php Test search text preprocessing functionality.
SearchTextProcessorTest.php file core/modules/search/tests/src/Kernel/SearchTextProcessorTest.php
SearchTextProcessorTest::$modules property core/modules/search/tests/src/Kernel/SearchTextProcessorTest.php Modules to install.
SearchTextProcessorTest::testSearchTextProcessorPunctuation function core/modules/search/tests/src/Kernel/SearchTextProcessorTest.php Tests that text analysis does the right thing with punctuation.
SearchTextProcessorTest::testSearchTextProcessorUnicode function core/modules/search/tests/src/Kernel/SearchTextProcessorTest.php Tests that text processing handles Unicode characters correctly.
SelectTableSortDefaultTest class core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php Tests the tablesort query extender.
SelectTableSortDefaultTest.php file core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php
SelectTableSortDefaultTest::$defaultTheme property core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php The theme to install as the default for testing.
SelectTableSortDefaultTest::testTableSortDefaultSort function core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php Confirms that tableselect is rendered without error.
SelectTableSortDefaultTest::testTableSortQuery function core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php Confirms that a tablesort query returns the correct results.
SelectTableSortDefaultTest::testTableSortQueryFirst function core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php Confirms precedence of tablesorts headers.
SortableTestTrait::sortableAfter function core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php Simulates a drag moving an element after its sibling in the same container.
SortableTestTrait::sortableTo function core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php Simulates a drag on an element from one container to another.
SortableTestTrait::sortableUpdate function core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php Define to provide any necessary callback following layout change.
SortArray::sortByKeyInt function core/lib/Drupal/Component/Utility/SortArray.php Sorts an integer array item by an arbitrary key.
SortArray::sortByKeyString function core/lib/Drupal/Component/Utility/SortArray.php Sorts a string array item by an arbitrary key.
SortArray::sortByTitleElement function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by 'title' key (no # prefix).
SortArray::sortByTitleProperty function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by '#title' property.
SortArray::sortByWeightElement function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by the 'weight' element.
SortArray::sortByWeightProperty function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by '#weight' property.
SortArrayTest::providerSortByTitleElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Data provider for SortArray::sortByTitleElement().
SortArrayTest::providerSortByTitleProperty function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Data provider for SortArray::sortByTitleProperty().
SortArrayTest::providerSortByWeightElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Data provider for SortArray::sortByWeightElement().
SortArrayTest::providerSortByWeightProperty function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Data provider for SortArray::sortByWeightProperty().
SortArrayTest::testSortByTitleElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests SortArray::sortByTitleElement() input against expected output.
SortArrayTest::testSortByTitleProperty function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests SortArray::sortByTitleProperty() input against expected output.
SortArrayTest::testSortByWeightElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests SortArray::sortByWeightElement() input against expected output.
SortArrayTest::testSortByWeightProperty function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests SortArray::sortByWeightProperty() input against expected output.
SortingTest::testSorting function core/modules/views/tests/src/Functional/Wizard/SortingTest.php Tests the sorting functionality.
SortPluginBase::showSortForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Shortcut to display the value form.
SortPluginBase::sortOptions function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Provide a list of options for the default sort form.
SortPluginBase::sortSubmit function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortPluginBase::sortValidate function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortTest::assertSorted function core/tests/Drupal/Tests/PhpCs/SortTest.php A helper method to assert that an input array is sorted.
SortTest::testSorted function core/tests/Drupal/Tests/PhpCs/SortTest.php Tests that the phpcs.xml.dist file is properly sorted.
SortTest::testSorted function core/tests/Drupal/Tests/CSpell/SortTest.php Tests that the file is properly sorted.
SortTranslationTest::testSortbyUntranslatedIntegerField function core/modules/views/tests/src/Kernel/Handler/SortTranslationTest.php Tests sorting on an untranslated field.
StorageComparer::getAndSortConfigData function core/lib/Drupal/Core/Config/StorageComparer.php Gets and sorts configuration data from the source and target storages.
StringArgument::getSortName function core/modules/views/src/Plugin/views/argument/StringArgument.php Return a description of how the argument would normally be sorted.
StylePluginBase::buildSortPost function core/modules/views/src/Plugin/views/style/StylePluginBase.php Allows the view builder to build a second set of sorts.
system_sort_themes function core/modules/system/system.module Sorts themes by their names, with the default theme listed first.

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