Search for _sort_

  1. Search 7.x for _sort_
  2. Search 9.5.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
SortArrayTest::providerSortByTitleProperty function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Data provider for SortArray::sortByTitleProperty().
SortArrayTest::providerSortByWeightElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Data provider for SortArray::sortByWeightElement().
SortArrayTest::providerSortByWeightProperty function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Data provider for SortArray::sortByWeightProperty().
SortArrayTest::testSortByTitleElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests SortArray::sortByTitleElement() input against expected output.
SortArrayTest::testSortByTitleProperty function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests SortArray::sortByTitleProperty() input against expected output.
SortArrayTest::testSortByWeightElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests SortArray::sortByWeightElement() input against expected output.
SortArrayTest::testSortByWeightProperty function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests SortArray::sortByWeightProperty() input against expected output.
SortingTest::testSorting function core/modules/views/tests/src/Functional/Wizard/SortingTest.php Tests the sorting functionality.
SortPluginBase::showSortForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Shortcut to display the value form.
SortPluginBase::sortOptions function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Provide a list of options for the default sort form.
Should be overridden by classes that don't override sort_form
SortPluginBase::sortSubmit function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortPluginBase::sortValidate function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortTranslationTest::testSortbyUntranslatedIntegerField function core/modules/views/tests/src/Kernel/Handler/SortTranslationTest.php Test sorting on an untranslated field.
StorageComparer::getAndSortConfigData function core/lib/Drupal/Core/Config/StorageComparer.php Gets and sorts configuration data from the source and target storages.
StringArgument::getSortName function core/modules/views/src/Plugin/views/argument/StringArgument.php Return a description of how the argument would normally be sorted.
StylePluginBase::buildSortPost function core/modules/views/src/Plugin/views/style/StylePluginBase.php Called by the view builder to let the style build a second set of
sorts that will come after any other sorts in the view.
system_sort_modules_by_info_name function core/modules/system/system.module Array sorting callback; sorts modules by their name.
system_sort_themes function core/modules/system/system.module Sorts themes by their names, with the default theme listed first.
Table::buildSortPost function core/modules/views/src/Plugin/views/style/Table.php Add our actual sort criteria
tablesort-indicator.css file core/themes/seven/css/components/tablesort-indicator.css Tablesort indicator styles.
tablesort-indicator.css file core/themes/claro/css/components/tablesort-indicator.css Tablesort indicator styles.
tablesort-indicator.css file core/themes/bartik/css/components/tablesort-indicator.css Tablesort indicator styles.
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/themes/stable/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/seven/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/bartik/css/classy/components/tablesort.css Table sort indicator.
tablesort.css file core/themes/classy/css/components/tablesort.css Table sort indicator.
tablesort.inc file core/includes/tablesort.inc Functions to aid in the creation of sortable tables.
tablesort.module.css file core/themes/stable/css/system/components/tablesort.module.css Table sort indicator.
tablesort.module.css file core/modules/system/css/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/lib/Drupal/Core/Database/Query/TableSortExtender.php Query extender class for tablesort queries.
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().
TableSortLegacyTest class core/tests/Drupal/KernelTests/Core/Theme/TableSortLegacyTest.php Deprecation tests cases for the tablesort.inc file functions.

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