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
Table::buildSortPost function core/modules/views/src/Plugin/views/style/Table.php Add our actual sort criteria.
tablesort-indicator.css file core/themes/claro/css/components/tablesort-indicator.css Tablesort indicator styles.
tablesort-indicator.html.twig file core/themes/stable9/templates/admin/tablesort-indicator.html.twig Theme override for displaying a tablesort indicator.
tablesort-indicator.html.twig file core/themes/claro/templates/admin/tablesort-indicator.html.twig Theme override for displaying a tablesort indicator.
tablesort-indicator.html.twig file core/modules/system/templates/tablesort-indicator.html.twig Default theme implementation for displaying a tablesort indicator.
tablesort-indicator.pcss.css file core/themes/claro/css/components/tablesort-indicator.pcss.css Tablesort indicator styles.
tablesort.css file core/profiles/demo_umami/themes/umami/css/classy/components/tablesort.css Table sort indicator.
tablesort.css file core/themes/claro/css/classy/components/tablesort.css Table sort indicator.
tablesort.css file core/themes/starterkit_theme/css/components/tablesort.css Table sort indicator.
tablesort.module.css file core/misc/components/tablesort.module.css Table sort indicator.
tablesort.module.css file core/themes/stable9/css/core/components/tablesort.module.css Table sort indicator.
TableSort.php file core/lib/Drupal/Core/Utility/TableSort.php
TableSort::ASC constant core/lib/Drupal/Core/Utility/TableSort.php
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/core_fake/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/core_fake/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().
template_preprocess_tablesort_indicator function core/includes/theme.inc Prepares variables for tablesort indicators.
ThemePreprocess::preprocessTablesortIndicator function core/lib/Drupal/Core/Theme/ThemePreprocess.php Prepares variables for tablesort indicators.
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.
VariationCacheTest::getSortedCacheId function core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php Creates the sorted cache ID from cache ID parts.
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
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 install.
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

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