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 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
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::testRecursiveSortByKey function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests sorting arrays recursively by key.
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 Generates an expected result set based on the specified granularity and order.
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
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
SortingTest::setUp function core/modules/views/tests/src/Functional/Wizard/SortingTest.php
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
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
SortPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortPluginBase::getCacheTags function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortPluginBase::query function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Called to add the sort to a query.
SortPluginBase::showExposeButton function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Shortcut to display the expose/hide button.
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.
SortPluginBase::sortSubmit function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortPluginBase::sortValidate function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortPluginBase::submitOptionsForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Simple submit handler.

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