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
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.
TestHookOrderExtraTypes class core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookOrderExtraTypes.php This class contains hook implementations.
TestHookOrderExtraTypes class core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookOrderExtraTypes.php This class contains hook implementations.
TestHookOrderExtraTypes.php file core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookOrderExtraTypes.php
TestHookOrderExtraTypes.php file core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookOrderExtraTypes.php
TestHookOrderExtraTypes::customHookExtraTypes function core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookOrderExtraTypes.php This pair tests OrderAfter with ExtraTypes.
TestHookOrderExtraTypes::customHookExtraTypes function core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookOrderExtraTypes.php This pair tests OrderAfter with ExtraTypes.
TestHookReorderHookFirst class core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookReorderHookFirst.php This class contains hook implementations.
TestHookReorderHookFirst.php file core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookReorderHookFirst.php
TestHookReorderHookFirst::customHookOverride function core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookReorderHookFirst.php This pair tests ReorderHook.
TestHookReorderHookLast class core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookReorderHookLast.php This class contains hook implementations.
TestHookReorderHookLast.php file core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookReorderHookLast.php
TestHookReorderHookLast::customHookOverride function core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookReorderHookLast.php This pair tests ReorderHook.
ThemeSuggestionsAlterTest::testExecutionOrder function core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php Tests execution order of theme suggestion alter hooks.
TransactionOutOfOrderException class core/lib/Drupal/Core/Database/TransactionOutOfOrderException.php Exception thrown transactions are out of order.
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 Tests the order of granted permissions in a role.
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
views.view.test_style_html_list_ordered.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_style_html_list_ordered.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_style_html_list_ordered.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.
ViewStyleHtmlListTest::testOrderedList function core/modules/views/tests/src/Functional/ViewStyleHtmlListTest.php Tests ordered list HTML list.
ViewTestBase::orderResultSet function core/modules/views/tests/src/Functional/ViewTestBase.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.