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
DocParserTest::testAnnotationWithAttributesWithVarTypeArrayError function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php Tests annotation with attributes with var type array error.
DocParserTest::testAnnotationWithVarTypeArrayError function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php Tests annotation with var type array error.
DocParserTest::testArrayWithColon function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DocParserTest::testEmptyArray function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php Tests parsing empty arrays.
DocParserTest::testNestedArraysWithNestedAnnotation function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DrupalKernel::$phpArrayDumperClass property core/lib/Drupal/Core/DrupalKernel.php Holds the class used for dumping the container to a PHP array.
EarlyRenderingTestController::renderArray function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
EarlyRenderingTestController::renderArrayEarly function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
Element::isRenderArray function core/lib/Drupal/Core/Render/Element.php Checks if a candidate is a render array.
ElementTest::dataProviderIsRenderArray function core/tests/Drupal/Tests/Core/Render/ElementTest.php
ElementTest::testIsRenderArray function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests is render array.
EntityAdapter::toArray function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityAdapter.php
EntityAdapterUnitTest::testToArray function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests to array.
EntityAdapterUnitTest::testToArrayWithoutData function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests to array without data.
EntityBase::toArray function core/lib/Drupal/Core/Entity/EntityBase.php
EntityDisplayBase::toArray function core/lib/Drupal/Core/Entity/EntityDisplayBase.php
EntityInterface::toArray function core/lib/Drupal/Core/Entity/EntityInterface.php Gets an array of all property values.
EntityReferenceFormatterTest::buildRenderArray function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php Sets field values and returns a render array.
EntityResourceTestBase::assertEntityArraySubset function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Recursively asserts that the expected items are set in the tested entity.
FetchTest::testQueryFetchArray function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record to an associative array explicitly.
FieldableEntityInterface::toArray function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Gets an array of all field values.
FieldConfigEntityUnitTest::testToArray function core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php Tests to array.
FileTranslation::filesToArray function core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php Reads the given Gettext PO files into a data structure.
FilterArray class core/lib/Drupal/Component/Utility/FilterArray.php Provides methods to filter arrays.
FilterArray.php file core/lib/Drupal/Component/Utility/FilterArray.php
FilterArray::removeEmptyStrings function core/lib/Drupal/Component/Utility/FilterArray.php Removes empty strings from an array.
FilterArrayTest class core/tests/Drupal/Tests/Component/Utility/FilterArrayTest.php Test filter array functions.
FilterArrayTest.php file core/tests/Drupal/Tests/Component/Utility/FilterArrayTest.php
FilterArrayTest::providerRemoveEmptyStrings function core/tests/Drupal/Tests/Component/Utility/FilterArrayTest.php Data provider for testRemoveEmptyStrings().
FilterArrayTest::testRemoveEmptyStrings function core/tests/Drupal/Tests/Component/Utility/FilterArrayTest.php Tests removing empty strings.
FilterFormat::toArray function core/modules/filter/src/Entity/FilterFormat.php
FilterPluginBase::arrayFilterZero function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Filter by no empty values, though allow the use of (string) "0".
FormAjaxResponseBuilderTest::testBuildResponseRenderArray function core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php Tests build response render array.
FormHelper::processStatesArray function core/lib/Drupal/Core/Form/FormHelper.php Helps recursively rewrite #states selectors.
FormState::getCacheableArray function core/lib/Drupal/Core/Form/FormState.php
FormStateDecoratorBase::getCacheableArray function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
FormStateDecoratorBaseTest::testGetCacheableArray function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Tests get cacheable array.
FormStateInterface::getCacheableArray function core/lib/Drupal/Core/Form/FormStateInterface.php Returns an array representation of the cacheable portion of the form state.
FormStateTest::testPrepareCallbackArray function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Tests prepare callback array.
GetTest::testTransformSourceArray function core/modules/migrate/tests/src/Unit/process/GetTest.php Tests the Get plugin when source is an array.
GetTest::testTransformSourceArrayAt function core/modules/migrate/tests/src/Unit/process/GetTest.php Tests the Get plugin when source is an array pointing to destination.
GraphTest::displayArray function core/tests/Drupal/Tests/Component/Graph/GraphTest.php Helper function to output vertices as comma-separated list.
HelpPageTestController::testArray function core/modules/help/tests/modules/help_page_test/src/HelpPageTestController.php Provides a route which has multiple array returns from hook_help().
HTMLRestrictions::toCKEditor5ElementsArray function core/modules/ckeditor5/src/HTMLRestrictions.php Transforms into the CKEditor 5 package metadata "elements" representation.
Htmx::createFromRenderArray function core/lib/Drupal/Core/Htmx/Htmx.php Creates an Htmx object with values taken from a render array.
HtmxUtilitiesTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Htmx/HtmxUtilitiesTest.php Test ::createFromRenderArray.
Inspector::assertAllArrays function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are arrays.
Inspector::assertAllStrictArrays function core/lib/Drupal/Component/Assertion/Inspector.php Asserts all members are strict arrays.
Inspector::assertStrictArray function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that the array is strict.
InspectorTest::testAssertAllArrays function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are arrays.

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