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
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 Tests get sorted definitions.
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.
MenuListBuilder::SORT_KEY constant core/modules/menu_ui/src/MenuListBuilder.php The entity key to sort the list by.
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 Instantiates a new instance of the implementing class using autowiring.
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 Gets the availableSorts property.
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/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/system/tests/modules/url_alter_test/src/PathProcessorTest.php
PathProcessorTest.php file core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php
PathProcessorTest::$languageManager property core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php The language manager stub used to construct a PathProcessorLanguage object.
PathProcessorTest::$languages property core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php Configuration for the languageManager stub.
PathProcessorTest::processInbound function core/modules/system/tests/modules/url_alter_test/src/PathProcessorTest.php Processes the inbound path.
PathProcessorTest::processOutbound function core/modules/system/tests/modules/url_alter_test/src/PathProcessorTest.php Processes the outbound path.
PathProcessorTest::setUp function core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php
PathProcessorTest::testProcessInbound function core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php Tests resolving the inbound path to the system path.
PermissionHandler::sortPermissions function core/modules/user/src/PermissionHandler.php Sorts the given permissions by provider name and title.
PermissionHandlerTest::testBuildPermissionsSortPerModule function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests permissions sort inside a module.
PlaceholderGeneratorTest::testRenderPlaceholdersDifferentSortedContextsTags function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php Tests the creation of an element with a #lazy_builder callback.
PreviewTest::testPreviewSortLink function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Tests the link to sort in the preview form.
QueryAggregate::addSortAggregate function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Builds the aggregation sort part of the query.
QueryAggregateInterface::sortAggregate function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Sorts by an aggregated value.
QueryBase::$sortAggregate property core/lib/Drupal/Core/Entity/Query/QueryBase.php The list of sorts over the aggregate results.
QueryBase::sortAggregate function core/lib/Drupal/Core/Entity/Query/QueryBase.php
RendererTest::testRenderSorting function core/tests/Drupal/Tests/Core/Render/RendererTest.php Tests render sorting.

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