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 11.x for _sort_
  5. Other projects
Title Object type File name Summary
FieldWebTest::clickSortLoadIdsFromOutput function core/modules/views/tests/src/Functional/Handler/FieldWebTest.php Small helper function to get all ids in the output.
FieldWebTest::testClickSorting function core/modules/views/tests/src/Functional/Handler/FieldWebTest.php Tests the click sorting functionality.
FieldWebTest::testClickSortingDistinct function core/modules/views/tests/src/Functional/Handler/FieldWebTest.php Tests the default click sorting functionality with distinct.
FilterFormatUpdateFilterSortingTest class core/modules/filter/tests/src/Functional/FilterFormatUpdateFilterSortingTest.php Tests the upgrade path for filter formats.
FilterFormatUpdateFilterSortingTest.php file core/modules/filter/tests/src/Functional/FilterFormatUpdateFilterSortingTest.php
FilterFormatUpdateFilterSortingTest::setDatabaseDumpFiles function core/modules/filter/tests/src/Functional/FilterFormatUpdateFilterSortingTest.php Set database dump files to be used.
FilterFormatUpdateFilterSortingTest::testFilterPostUpdateSortFilters function core/modules/filter/tests/src/Functional/FilterFormatUpdateFilterSortingTest.php Tests filter_post_update_sort_filters().
FilterPluginCollection::sortHelper function core/modules/filter/src/FilterPluginCollection.php Provides uasort() callback to sort plugins.
filter_post_update_sort_filters function core/modules/filter/filter.post_update.php Sorts filter format filter configuration.
FormTest::testSelectSorting function core/modules/system/tests/src/Functional/Form/FormTest.php Tests sorting and not sorting of options in a select element.
FormTest::validateSelectSorting function core/modules/system/tests/src/Functional/Form/FormTest.php Validates that the options are in the right order in a select.
FormTestSelectForm::makeSortableOptions function core/modules/system/tests/modules/form_test/src/Form/FormTestSelectForm.php Makes and returns a set of options to test sorting on.
FormValidationMessageOrderTest::testValidationErrorMessagesSortedWithWeight function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Tests that fields validation messages are sorted in the fields order.
GroupByNumeric::getSortName function core/modules/views/src/Plugin/views/argument/GroupByNumeric.php Return a description of how the argument would normally be sorted.
hook_views_plugins_sort_alter function core/modules/views/views.api.php Modify the list of available views sort handler plugins.
ImageEffectPluginCollection::sortHelper function core/modules/image/src/ImageEffectPluginCollection.php Provides uasort() callback to sort plugins.
LanguageUnitTest::providerTestSortArrayOfLanguages function core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php Provides data for testSortArrayOfLanguages.
LanguageUnitTest::testSortArrayOfLanguages function core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php Tests sorting an array of language objects.
LayoutBuilderSortTrait trait core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderSortTrait.php LayoutBuilderSortTrait, provides callback for simulated layout change.
LayoutBuilderSortTrait.php file core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderSortTrait.php
LayoutBuilderSortTrait::sortableUpdate function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderSortTrait.php Define to provide any necessary callback following layout change.
LayoutPluginManager::getSortedDefinitions function core/lib/Drupal/Core/Layout/LayoutPluginManager.php
LayoutPluginManagerInterface::getSortedDefinitions function core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php
LayoutPluginManagerTest::testGetSortedDefinitions function core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php @covers ::getSortedDefinitions[[api-linebreak]]
LocaleProjectStorage::$sorted property core/modules/locale/src/LocaleProjectStorage.php Sorted status flag.
LocaleProjectStorageTest::testSorting function core/modules/locale/tests/src/Unit/LocaleProjectStorageTest.php Tests that projects are sorted by weight and key.
LoggerChannel::sortLoggers function core/lib/Drupal/Core/Logger/LoggerChannel.php Sorts loggers according to priority.
LoggerChannelTest::testSortLoggers function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Tests LoggerChannel::addLoggers().
Media::getAvailableSorts function core/modules/media/src/Plugin/views/wizard/Media.php Gets the availableSorts property.
MediaLibrarySelectForm::clickSortable function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php Determines if this field is click sortable.
MediaLibraryWidget::getAllowedMediaTypeIdsSorted function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Gets the enabled media type IDs sorted by weight.
MenuUiNodeTypeTest::assertMenuNamesAreSorted function core/modules/menu_ui/tests/src/Kernel/MenuUiNodeTypeTest.php Asserts that the available menu names are sorted alphabetically by label.
MigrateFieldPluginManager::sortDefinitions function core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManager.php Sorts a definitions array.
MimeTypeGuesser::$sortedGuessers property core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php Holds the array of guessers sorted by priority.
MimeTypeGuesser::sortGuessers function core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php Sorts guessers according to priority.
ModerationStateSort.php file core/modules/content_moderation/src/Plugin/views/sort/ModerationStateSort.php
ModerationStateSort::$entityTypeManager property core/modules/content_moderation/src/Plugin/views/sort/ModerationStateSort.php The entity type manager.
ModerationStateSort::create function core/modules/content_moderation/src/Plugin/views/sort/ModerationStateSort.php Creates an instance of the plugin.
ModerationStateSort::__construct function core/modules/content_moderation/src/Plugin/views/sort/ModerationStateSort.php Creates an instance of ModerationStateFilter.
Node::getAvailableSorts function core/modules/node/src/Plugin/views/wizard/Node.php Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::getAvailableSorts().
NumericArgument::getSortName function core/modules/views/src/Plugin/views/argument/NumericArgument.php Return a description of how the argument would normally be sorted.
PathProcessorManager::$sortedInbound property core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php Holds the array of inbound processors, sorted by priority.
PathProcessorManager::$sortedOutbound property core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php Holds the array of outbound processors, sorted by priority.
PathProcessorManager::sortProcessors function core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php Sorts the processors according to priority.
PathProcessorTest class core/modules/forum/tests/modules/forum_url_alter_test/src/PathProcessorTest.php Path processor for url_alter_test.
PathProcessorTest class core/modules/system/tests/modules/url_alter_test/src/PathProcessorTest.php Path processor for url_alter_test.
PathProcessorTest class core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php Tests processing of the inbound path.
PathProcessorTest.php file core/modules/forum/tests/modules/forum_url_alter_test/src/PathProcessorTest.php
PathProcessorTest.php file core/modules/system/tests/modules/url_alter_test/src/PathProcessorTest.php
PathProcessorTest.php file core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php

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