Search for _array

  1. Search 7.x for _array
  2. Search 8.9.x for _array
  3. Search 10.3.x for _array
  4. Search 11.x for _array
  5. Search main for _array
  6. Other projects
Title Object type File name Summary
SectionComponentBuildRenderArrayEvent::getPlugin function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Get the plugin for the section component being built.
SectionComponentBuildRenderArrayEvent::inPreview function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Determine if the component is in preview mode.
SectionComponentBuildRenderArrayEvent::setBuild function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Set the render array.
SectionComponentBuildRenderArrayEvent::__construct function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Creates a new SectionComponentBuildRenderArrayEvent object.
SectionComponentTest::testToRenderArray function core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php @covers ::toRenderArray[[api-linebreak]]
SectionRenderTest::testToRenderArray function core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @covers ::toRenderArray[[api-linebreak]]
SectionRenderTest::testToRenderArrayAccessDenied function core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @covers ::toRenderArray[[api-linebreak]]
SectionRenderTest::testToRenderArrayEmpty function core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @covers ::toRenderArray[[api-linebreak]]
SectionRenderTest::testToRenderArrayMissingPluginId function core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @covers ::toRenderArray[[api-linebreak]]
SectionRenderTest::testToRenderArrayPreview function core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @covers ::toRenderArray[[api-linebreak]]
SecurityAdvisory::createFromArray function core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php Creates a SecurityAdvisories instance from an array.
SecurityAdvisoryTest::providerCreateFromArray function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Data provider for testCreateFromArray().
SecurityAdvisoryTest::providerCreateFromArrayInvalidField function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Data provider for testCreateFromArrayInvalidField().
SecurityAdvisoryTest::providerCreateFromArrayMissingField function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Data provider for testCreateFromArrayMissingField().
SecurityAdvisoryTest::testCreateFromArray function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Tests creating with valid data.
SecurityAdvisoryTest::testCreateFromArrayInvalidField function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Tests exceptions for invalid field types.
SecurityAdvisoryTest::testCreateFromArrayMissingField function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Tests exceptions with missing fields.
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::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::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.

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