Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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
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.
SortPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/sort/SortPluginBase.php The cache contexts associated with this object.
SortPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/sort/SortPluginBase.php The maximum age for which this object may be cached.
SortPluginBase::getCacheTags function core/modules/views/src/Plugin/views/sort/SortPluginBase.php The cache tags associated with this object.
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.
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
SortPluginBase::submitOptionsForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Simple submit handler
SortPluginBase::trustedCallbacks function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Lists the trusted callbacks provided by the implementing class.
SortPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Simple validate handler
SortRandomTest class core/modules/views/tests/src/Kernel/Handler/SortRandomTest.php Tests for core Drupal\views\Plugin\views\sort\Random handler.
SortRandomTest.php file core/modules/views/tests/src/Kernel/Handler/SortRandomTest.php
SortRandomTest::$testViews property core/modules/views/tests/src/Kernel/Handler/SortRandomTest.php Views used by this test.

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