Search for _sort_

  1. Search 7.x for _sort_
  2. Search 8.9.x for _sort_
  3. Search 10.3.x for _sort_
  4. Search 11.x for _sort_
  5. Other projects
Title Object type File name Summary
TableSort::DESC constant core/lib/Drupal/Core/Utility/TableSort.php
TableSort::getContextFromRequest function core/lib/Drupal/Core/Utility/TableSort.php Initializes the table sort context.
TableSort::getOrder function core/lib/Drupal/Core/Utility/TableSort.php Determines the current sort criterion.
TableSort::getQueryParameters function core/lib/Drupal/Core/Utility/TableSort.php Composes a URL query parameter array for table sorting links.
TableSort::getSort function core/lib/Drupal/Core/Utility/TableSort.php Determines the current sort direction.
TableSort::header function core/lib/Drupal/Core/Utility/TableSort.php Formats a column header.
TableSortExtender class core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/TableSortExtender.php CorefakeWithAllCustomClasses implementation of \Drupal\Core\Database\Query\TableSortExtender.
TableSortExtender class core/lib/Drupal/Core/Database/Query/TableSortExtender.php Query extender class for tablesort queries.
TableSortExtender.php file core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/TableSortExtender.php
TableSortExtender.php file core/lib/Drupal/Core/Database/Query/TableSortExtender.php
TableSortExtender::orderByHeader function core/lib/Drupal/Core/Database/Query/TableSortExtender.php Order the query based on a header array.
TableSortExtender::__construct function core/lib/Drupal/Core/Database/Query/TableSortExtender.php
TableSortExtenderTest class core/tests/Drupal/KernelTests/Core/Render/Element/TableSortExtenderTest.php Tests table sorting.
TableSortExtenderTest.php file core/tests/Drupal/KernelTests/Core/Render/Element/TableSortExtenderTest.php
TableSortExtenderTest::testTableSortInit function core/tests/Drupal/KernelTests/Core/Render/Element/TableSortExtenderTest.php Tests \Drupal\Core\Utility\TableSort::getContextFromRequest().
TranslationManager::$sortedTranslators property core/lib/Drupal/Core/StringTranslation/TranslationManager.php An array of translators, sorted by priority.
TranslationManager::sortTranslators function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Sorts translators according to priority.
UserPermissionsAdminTest::testPermissionsSorting function core/modules/user/tests/src/Functional/UserPermissionsAdminTest.php Tests granting and revoking permissions via the UI sorts permissions.
UserUid::getSortName function core/modules/comment/src/Plugin/views/argument/UserUid.php Return a description of how the argument would normally be sorted.
user_post_update_sort_permissions function core/modules/user/user.post_update.php No-op update.
user_post_update_sort_permissions_again function core/modules/user/user.post_update.php Ensure permissions stored in role configuration are sorted using the schema.
Views sort handler plugins group core/modules/views/src/Plugin/views/sort/SortPluginBase.php Plugins that handle sorting for Views.
views.sort.schema.yml file core/modules/views/config/schema/views.sort.schema.yml core/modules/views/config/schema/views.sort.schema.yml
views.view.test_click_sort.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_click_sort.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_click_sort.yml
views.view.test_click_sort_ajax.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_click_sort_ajax.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_click_sort_ajax.yml
views.view.test_content_moderation_state_sort_base_table.yml file core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_sort_base_table.yml core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_sort_base_table.yml
views.view.test_content_moderation_state_sort_revision_table.yml file core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_sort_revision_table.yml core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_sort_revision_table.yml
views.view.test_distinct_click_sorting.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_distinct_click_sorting.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_distinct_click_sorting.yml
views.view.test_exposed_form_sort_items_per_page.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_form_sort_items_per_page.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_form_sort_items_per_page.yml
views.view.test_sort_datetime.yml file core/modules/datetime/tests/modules/datetime_test/test_views/views.view.test_sort_datetime.yml core/modules/datetime/tests/modules/datetime_test/test_views/views.view.test_sort_datetime.yml
views.view.test_view_sort_translation.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_sort_translation.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_sort_translation.yml
ViewsConfigUpdater::needsSortFieldIdentifierUpdate function core/modules/views/src/ViewsConfigUpdater.php Updates the sort handlers by adding default sort field identifiers.
ViewsConfigUpdater::processSortFieldIdentifierUpdateHandler function core/modules/views/src/ViewsConfigUpdater.php Processes sort handlers by adding the sort identifier.
ViewsModerationStateSortTest class core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php Tests the views moderation_state field sorting integration.
ViewsModerationStateSortTest.php file core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php
ViewsModerationStateSortTest::$modules property core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php Modules to enable.
ViewsModerationStateSortTest::assertSortResults function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php Assert the order of a views sort result.
ViewsModerationStateSortTest::setUp function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php
ViewsModerationStateSortTest::testSortBaseTable function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php Tests sorting with a standard data base table.
ViewsModerationStateSortTest::testSortRevisionBaseTable function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php Tests sorting with the revision base table.
ViewsSort.php file core/modules/views/src/Annotation/ViewsSort.php
ViewsSortIdentifiersUpdateTest class core/modules/views/tests/src/Functional/Update/ViewsSortIdentifiersUpdateTest.php Tests the views_post_update_sort_identifier() post update.
ViewsSortIdentifiersUpdateTest.php file core/modules/views/tests/src/Functional/Update/ViewsSortIdentifiersUpdateTest.php
ViewsSortIdentifiersUpdateTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/ViewsSortIdentifiersUpdateTest.php Set database dump files to be used.
ViewsSortIdentifiersUpdateTest::testSortIdentifierPostUpdate function core/modules/views/tests/src/Functional/Update/ViewsSortIdentifiersUpdateTest.php Tests views_post_update_sort_identifier().
views_post_update_remove_sorting_global_text_field function core/modules/views/views.post_update.php Clear caches due to removal of sorting for global custom text field.
views_post_update_sort_identifier function core/modules/views/views.post_update.php Add the identifier option to all sort handler configurations.
WizardPluginBase::$availableSorts property core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php The available store criteria.
WizardPluginBase::$sorts property core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Views items configuration arrays for sorts added by the wizard.
WizardPluginBase::buildSorts function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Builds the form structure for selecting the view's sort order.

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