Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
Sort::LANGUAGE_KEY constant core/modules/jsonapi/src/Query/Sort.php The langcode key in the sort parameter: sort[lorem][<langcode>].
Sort::PATH_KEY constant core/modules/jsonapi/src/Query/Sort.php The field key in the sort parameter: sort[lorem][<field>].
Sort::__construct function core/modules/jsonapi/src/Query/Sort.php Constructs a new Sort object.
SortableTestTrait trait core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php Provides functions for simulating sort changes.
SortableTestTrait.php file core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php
SortableTestTrait::sortableAfter function core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php Simulates a drag moving an element after its sibling in the same container.
SortableTestTrait::sortableTo function core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php Simulates a drag on an element from one container to another.
SortableTestTrait::sortableUpdate function core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php Define to provide any necessary callback following layout change.
SortArray class core/lib/Drupal/Component/Utility/SortArray.php Provides generic array sorting helper methods.
SortArray.php file core/lib/Drupal/Component/Utility/SortArray.php
SortArray::sortByKeyInt function core/lib/Drupal/Component/Utility/SortArray.php Sorts an integer array item by an arbitrary key.
SortArray::sortByKeyString function core/lib/Drupal/Component/Utility/SortArray.php Sorts a string array item by an arbitrary key.
SortArray::sortByTitleElement function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by 'title' key (no # prefix).
SortArray::sortByTitleProperty function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by '#title' property.
SortArray::sortByWeightElement function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by the 'weight' element.
SortArray::sortByWeightProperty function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by '#weight' property.
SortArrayTest class core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests the SortArray component.
SortArrayTest.php file core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php
SortArrayTest::assertBothNegativePositiveOrZero function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Asserts that numbers are either both negative, both positive or both zero.
SortArrayTest::providerSortByTitleElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Data provider for SortArray::sortByTitleElement().
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.
SortDateTest class core/modules/views/tests/src/Kernel/Handler/SortDateTest.php Tests for core Drupal\views\Plugin\views\sort\Date handler.
SortDateTest.php file core/modules/views/tests/src/Kernel/Handler/SortDateTest.php
SortDateTest::$testViews property core/modules/views/tests/src/Kernel/Handler/SortDateTest.php Views used by this test.
SortDateTest::expectedResultSet function core/modules/views/tests/src/Kernel/Handler/SortDateTest.php
SortDateTest::testDateOrdering function core/modules/views/tests/src/Kernel/Handler/SortDateTest.php Tests numeric ordering of the result set.
SortDateTimeTest class core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php Tests for core Drupal\datetime\Plugin\views\sort\Date handler.
SortDateTimeTest.php file core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php
SortDateTimeTest::$testViews property core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php Views to be enabled.
SortDateTimeTest::setUp function core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php
SortDateTimeTest::testDateTimeSort function core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php Tests the datetime sort handler.
SortingTest class core/modules/views/tests/src/Functional/Wizard/SortingTest.php Tests the ability of the views wizard to create views with sorts.
SortingTest.php file core/modules/views/tests/src/Functional/Wizard/SortingTest.php
SortingTest::$defaultTheme property core/modules/views/tests/src/Functional/Wizard/SortingTest.php The theme to install as the default for testing.
SortingTest::setUp function core/modules/views/tests/src/Functional/Wizard/SortingTest.php Sets up the test.
SortingTest::testSorting function core/modules/views/tests/src/Functional/Wizard/SortingTest.php Tests the sorting functionality.
SortPluginBase class core/modules/views/src/Plugin/views/sort/SortPluginBase.php Base sort handler that has no options and performs a simple sort.
SortPluginBase.php file core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortPluginBase::adminSummary function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Display whether or not the sort order is ascending or descending.
SortPluginBase::buildExposeForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Form for exposed handler options.
SortPluginBase::buildOptionsForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Basic options for all sort criteria.
SortPluginBase::canExpose function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Determine if a sort can be exposed.
SortPluginBase::defaultExposeOptions function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Provide default options for exposed sorts.
SortPluginBase::defineOptions function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Information about options for all kinds of purposes will be held here.

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