Search for order

  1. Search 7.x for order
  2. Search 9.5.x for order
  3. Search 10.3.x for order
  4. Search 11.x for order
  5. Other projects
Title Object type File name Summary
OrderByTest::testInvalidDirection function core/tests/Drupal/Tests/Core/Database/OrderByTest.php Checks that invalid sort directions in ORDER BY get converted to ASC.
Phpunit4CompatibilityTest::testFrameworkMockObjectMatcherInvokedRecorder function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Framework_MockObject_Matcher_InvokedRecorder.
QueryTest::$orderBy property core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
QueryTest::addOrderBy function core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
RearrangeFieldsTest::assertFieldOrder function core/modules/views_ui/tests/src/Functional/RearrangeFieldsTest.php Check if the fields are in the correct order.
ReorderDisplays class core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php Displays the display reorder form.
ReorderDisplays.php file core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php
ReorderDisplays::buildForm function core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php Form constructor.
ReorderDisplays::getFormId function core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php Returns a unique string identifying the form.
ReorderDisplays::getFormKey function core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php Returns the key that represents this form.
ReorderDisplays::submitForm function core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php Form submission handler.
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/lib/Drupal/Core/Database/Driver/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/lib/Drupal/Core/Database/Driver/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.
TableSortLegacyTest::testOrder function core/tests/Drupal/KernelTests/Core/Theme/TableSortLegacyTest.php Tests deprecation of the tablesort_get_order() function.
tablesort_get_order function core/includes/tablesort.inc Determines the current sort criterion.
TaggedHandlersPassTest::testProcessWithDifferentArgumentsOrderAndDefaultValue function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php Tests consumer method with priority and extra parameters in different order.

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