Search for _array

  1. Search 7.x for _array
  2. Search 9.5.x for _array
  3. Search 8.9.x for _array
  4. Search 10.3.x for _array
  5. Search 11.x for _array
  6. Other projects
Title Object type File name Summary
SettingsEditor::isArrayIndex function core/lib/Drupal/Core/Site/SettingsEditor.php Checks whether the token is a valid array index (a number or string).
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::sortByKeyRecursive function core/lib/Drupal/Component/Utility/SortArray.php Sorts an array recursively, by key, alphabetically.
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.
StorageCopyTraitTest::toArray function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Get the protected config data out of a MemoryStorage.
SubProcessTest::providerTestSourceNotArray function core/modules/migrate/tests/src/Unit/process/SubProcessTest.php Data provider for testSourceNotArray().
SubProcessTest::testSourceNotArray function core/modules/migrate/tests/src/Unit/process/SubProcessTest.php Tests behavior when source children are not arrays.
SvgIconBuilder::buildRenderArray function core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php Builds a render array representation of an SVG.
TableTest::testThemeTableHeaderRenderArray function core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php Tests header elements with a mix of string and render array values.
TableTest::testThemeTableRowRenderArray function core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php Tests row elements with a mix of string and render array values.
TemporaryArrayObjectThrowingExceptions class core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php An \ArrayObject that throws an exception when used as an ArrayObject.
TemporaryArrayObjectThrowingExceptions.php file core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php
TemporaryArrayObjectThrowingExceptions::append function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Append a value to the ArrayObject.
TemporaryArrayObjectThrowingExceptions::asort function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Sort the ArrayObject.
TemporaryArrayObjectThrowingExceptions::count function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Count the ArrayObject.
TemporaryArrayObjectThrowingExceptions::exchangeArray function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Exchange the current array with another array or object.
TemporaryArrayObjectThrowingExceptions::getArrayCopy function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Exports the \ArrayObject to an array.
TemporaryArrayObjectThrowingExceptions::getFlags function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Gets the behavior flags of the \ArrayObject.
TemporaryArrayObjectThrowingExceptions::getIterator function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Create a new iterator from an ArrayObject instance.
TemporaryArrayObjectThrowingExceptions::getIteratorClass function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Gets the class name of the iterator used by \ArrayObject::getIterator().
TemporaryArrayObjectThrowingExceptions::ksort function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Sort the entries by key.
TemporaryArrayObjectThrowingExceptions::natcasesort function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Sort an array using a case insensitive "natural order" algorithm.
TemporaryArrayObjectThrowingExceptions::natsort function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Sort entries using a "natural order" algorithm.
TemporaryArrayObjectThrowingExceptions::offsetExists function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Returns whether the requested index exists.
TemporaryArrayObjectThrowingExceptions::offsetGet function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Returns the value at the specified index.
TemporaryArrayObjectThrowingExceptions::offsetSet function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Sets the value at the specified index to new value.
TemporaryArrayObjectThrowingExceptions::offsetUnset function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Unsets the value at the specified index.
TemporaryArrayObjectThrowingExceptions::setFlags function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Sets the behavior flags for the \ArrayObject.
TemporaryArrayObjectThrowingExceptions::setIteratorClass function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Sets the iterator classname for the \ArrayObject.
TemporaryArrayObjectThrowingExceptions::uasort function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Sort the entries with a user-defined comparison function.
TemporaryArrayObjectThrowingExceptions::uksort function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Sort the entries by keys using a user-defined comparison function.
TestConfigFactoryOverrideBase::doFilterNestedArray function core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php

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