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 main for _array
  6. Other projects
Title Object type File name Summary
InspectorTest::testAssertAllArrays function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are arrays.
InspectorTest::testAssertAllStrictArrays function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are strict arrays.
InspectorTest::testAssertStrictArray function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting array is 0-indexed - the strict definition of array.
InstalledPackage::createFromArray function core/modules/package_manager/src/InstalledPackage.php Create an installed package object from an array.
InstalledPackagesList::exchangeArray function core/modules/package_manager/src/InstalledPackagesList.php
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.
LayoutBuilderEvents::SECTION_COMPONENT_BUILD_RENDER_ARRAY constant core/modules/layout_builder/src/LayoutBuilderEvents.php Name of the event fired when a component's render array is built.
LazyBuilderPlaceholderTest::buildRenderArray function core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php Builds a render array with placeholdered lazy builder callbacks.
LocaleTranslatableProject::createFromArray function core/modules/locale/src/LocaleTranslatableProject.php Creates a new instance from an array.
LocaleTranslatableProject::toArray function core/modules/locale/src/LocaleTranslatableProject.php Returns an array representation on the object.
MainContentViewSubscriber::onViewRenderArray function core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php Sets a response given a (main content) render array.
Map::toArray function core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php Returns an array of all property values.
MapItem::toArray function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/MapItem.php Returns an array of all property values.
ModerationStateFieldItemListTest::testArrayIndex function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Tests the field item list when accessing an index.
ModerationStateFieldItemListTest::testArrayIteration function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Tests the field item list when iterating.
NestedArray class core/lib/Drupal/Component/Utility/NestedArray.php Provides methods for working with nested arrays of variable depth.
NestedArray.php file core/lib/Drupal/Component/Utility/NestedArray.php
NestedArray::filter function core/lib/Drupal/Component/Utility/NestedArray.php Filters a nested array recursively.
NestedArray::getValue function core/lib/Drupal/Component/Utility/NestedArray.php Retrieves a value from a nested array with variable depth.
NestedArray::keyExists function core/lib/Drupal/Component/Utility/NestedArray.php Determines whether a nested array contains the requested keys.
NestedArray::mergeDeep function core/lib/Drupal/Component/Utility/NestedArray.php Merges multiple arrays, recursively, and returns the merged array.
NestedArray::mergeDeepArray function core/lib/Drupal/Component/Utility/NestedArray.php Merges multiple arrays, recursively, and returns the merged array.
NestedArray::setValue function core/lib/Drupal/Component/Utility/NestedArray.php Sets a value in a nested array with variable depth.
NestedArray::unsetValue function core/lib/Drupal/Component/Utility/NestedArray.php Unsets a value in a nested array with variable depth.
NestedArrayTest class core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests Drupal\Component\Utility\NestedArray.
NestedArrayTest.php file core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php
NestedArrayTest::$form property core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Form array to check.
NestedArrayTest::$parents property core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Array of parents for the nested element.
NestedArrayTest::providerTestFilter function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php
NestedArrayTest::setUp function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php
NestedArrayTest::testFilter function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests filter.
NestedArrayTest::testGetValue function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests getting nested array values.
NestedArrayTest::testKeyExists function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests existence of array key.
NestedArrayTest::testMergeDeepArray function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests NestedArray::mergeDeepArray().
NestedArrayTest::testMergeExplicitKeys function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests that even with explicit keys, values are appended, not merged.
NestedArrayTest::testMergeImplicitKeys function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests that arrays with implicit keys are appended, not merged.
NestedArrayTest::testMergeOutOfSequenceKeys function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests that array keys values on the first array are ignored when merging.
NestedArrayTest::testSetValue function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests setting nested array values.
NestedArrayTest::testSetValueForce function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests force-setting values.
NestedArrayTest::testUnsetValue function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests unsetting nested array values.
OptimizedPhpArrayDumper class core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php OptimizedPhpArrayDumper dumps a service container as a serialized PHP array.
OptimizedPhpArrayDumper.php file core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php
OptimizedPhpArrayDumper::$aliases property core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php A list of container aliases.
OptimizedPhpArrayDumper::$serialize property core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Whether to serialize service definitions or not.
OptimizedPhpArrayDumper::dump function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php
OptimizedPhpArrayDumper::dumpCallable function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Dumps callable to a PHP array.
OptimizedPhpArrayDumper::dumpCollection function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Dumps a collection to a PHP array.
OptimizedPhpArrayDumper::dumpMethodCalls function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Dumps method calls to a PHP array.
OptimizedPhpArrayDumper::dumpValue function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Dumps the value to PHP array format.

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