Search for order

  1. Search 7.x for order
  2. Search 9.5.x for order
  3. Search 8.9.x for order
  4. Search 10.3.x for order
  5. Other projects
Title Object type File name Summary
Router::applyFitOrder function core/lib/Drupal/Core/Routing/Router.php Reapplies the fit order to a RouteCollection object.
RouterTest::testMatchesWithDifferentFitOrder function core/tests/Drupal/Tests/Core/Routing/RouterTest.php @covers ::applyFitOrder
SearchConfigSettingsFormTest::testDefaultSearchPageOrdering function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Tests the ordering of search pages on a clean install.
Select::$order property core/lib/Drupal/Core/Database/Query/Select.php The fields by which to order this query.
Select::getOrderBy function core/lib/Drupal/Core/Database/Query/Select.php Returns a reference to the order by array for this query.
Select::orderBy function core/modules/pgsql/src/Driver/Database/pgsql/Select.php Overrides SelectQuery::orderBy().
Select::orderBy function core/lib/Drupal/Core/Database/Query/Select.php Orders the result set by a given field.
Select::orderRandom function core/modules/pgsql/src/Driver/Database/pgsql/Select.php Orders the result set by a random value.
Select::orderRandom function core/lib/Drupal/Core/Database/Query/Select.php Orders the result set by a random value.
SelectExtender::getOrderBy function core/lib/Drupal/Core/Database/Query/SelectExtender.php Returns a reference to the order by array for this query.
SelectExtender::orderBy function core/lib/Drupal/Core/Database/Query/SelectExtender.php Orders the result set by a given field.
SelectExtender::orderRandom function core/lib/Drupal/Core/Database/Query/SelectExtender.php Orders the result set by a random value.
SelectInterface::getOrderBy function core/lib/Drupal/Core/Database/Query/SelectInterface.php Returns a reference to the order by array for this query.
SelectInterface::orderBy function core/lib/Drupal/Core/Database/Query/SelectInterface.php Orders the result set by a given field.
SelectInterface::orderRandom function core/lib/Drupal/Core/Database/Query/SelectInterface.php Orders the result set by a random value.
SelectOrderedTest class core/tests/Drupal/KernelTests/Core/Database/SelectOrderedTest.php Tests the Select query builder.
SelectOrderedTest.php file core/tests/Drupal/KernelTests/Core/Database/SelectOrderedTest.php
SelectOrderedTest::testSimpleSelectMultiOrdered function core/tests/Drupal/KernelTests/Core/Database/SelectOrderedTest.php Tests multiple ORDER BY.
SelectOrderedTest::testSimpleSelectOrdered function core/tests/Drupal/KernelTests/Core/Database/SelectOrderedTest.php Tests basic ORDER BY.
SelectOrderedTest::testSimpleSelectOrderedDesc function core/tests/Drupal/KernelTests/Core/Database/SelectOrderedTest.php Tests ORDER BY descending.
SelectTest::testRandomOrder function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that random ordering of queries works.
SelectTest::testUnionOrder function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that we can UNION multiple Select queries together and set the ORDER.
SelectTest::testUnionOrderLimit function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that we can UNION multiple Select queries together with and a LIMIT.
SequenceDataDefinition::getOrderBy function core/lib/Drupal/Core/Config/Schema/SequenceDataDefinition.php Gets the description of how the sequence should be sorted.
ShortcutLinksTest::testShortcutLinkOrder function core/modules/shortcut/tests/src/Functional/ShortcutLinksTest.php Tests the shortcuts are correctly ordered by weight in the toolbar.
SortDateTest::testDateOrdering function core/modules/views/tests/src/Kernel/Handler/SortDateTest.php Tests numeric ordering of the result set.
SortRandomTest::testRandomOrdering function core/modules/views/tests/src/Kernel/Handler/SortRandomTest.php Tests random ordering of the result set.
SortRandomTest::testRandomOrderingWithRenderCaching function core/modules/views/tests/src/Kernel/Handler/SortRandomTest.php Tests random ordering with tags based caching.
SortTest::testNumericOrdering function core/modules/views/tests/src/Kernel/Handler/SortTest.php Tests numeric ordering of the result set.
SortTest::testStringOrdering function core/modules/views/tests/src/Kernel/Handler/SortTest.php Tests string ordering of the result set.
Sql::$orderby property core/modules/views/src/Plugin/views/query/Sql.php A simple array of order by clauses.
Sql::addOrderBy function core/modules/views/src/Plugin/views/query/Sql.php Add an ORDER BY clause to the query.
Table::$order property core/modules/views/src/Plugin/views/style/Table.php Contains the current active sort order, either desc or asc.
TableDragTest::assertOrder function core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php Asserts that several pieces of markup are in a given order in the page.
TableSort::getOrder function core/lib/Drupal/Core/Utility/TableSort.php Determines the current sort criterion.
TableSortExtender::orderByHeader function core/lib/Drupal/Core/Database/Query/TableSortExtender.php Order the query based on a header array.
TaggedHandlersPassTest::testProcessWithDifferentArgumentsOrderAndDefaultValue function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php Tests consumer method with varying order of priority and extra parameters.
TermAutocompleteTest::testAutocompleteOrderedResults function core/modules/taxonomy/tests/src/Functional/TermAutocompleteTest.php Tests that the autocomplete method returns properly ordered results.
TermTest::testTermReorder function core/modules/taxonomy/tests/src/Functional/TermTest.php Save, edit and delete a term using the user interface.
ThemeSuggestionsAlterTest::testExecutionOrder function core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php Tests execution order of theme suggestion alter hooks.
TrackerTest::testTrackerOrderingNewComments function core/modules/tracker/tests/src/Functional/TrackerTest.php Tests for ordering on a users tracker listing when comments are posted.
TransactionOutOfOrderException class core/lib/Drupal/Core/Database/TransactionOutOfOrderException.php Exception thrown when a rollBack() resulted in other active transactions being rolled-back.
TransactionOutOfOrderException.php file core/lib/Drupal/Core/Database/TransactionOutOfOrderException.php
UpdateContribTest::testUpdateContribOrder function core/modules/update/tests/src/Functional/UpdateContribTest.php Tests that contrib projects are ordered by project name.
UserAccountFormFieldsTest::assertFieldOrder function core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php Asserts that the 'name' form element is directly before the 'pass' element.
UserRoleAdminTest::testRoleWeightOrdering function core/modules/user/tests/src/Functional/UserRoleAdminTest.php Tests user role weight change operation and ordering.
UserRoleEntityTest::testOrderOfPermissions function core/modules/user/tests/src/Kernel/UserRoleEntityTest.php
ValidConsumerWithExtraArguments::addWithDifferentOrder function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
views.view.test_area_order.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_order.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_order.yml
ViewsKernelTestBase::orderResultSet function core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php Orders a nested array containing a result set based on a given column.

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