Search for _array

  1. Search 7.x for _array
  2. Search 9.5.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
RenderArrayNonHtmlSubscriberTest::$defaultTheme property core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php The theme to install as the default for testing.
RenderArrayNonHtmlSubscriberTest::$modules property core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php Modules to enable.
RenderArrayNonHtmlSubscriberTest::testResponses function core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php Tests handling of responses by events subscriber.
RenderArrayNonHtmlSubscriberTestController class core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php
RenderArrayNonHtmlSubscriberTestController.php file core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php
RenderArrayNonHtmlSubscriberTestController::rawString function core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php
RenderArrayNonHtmlSubscriberTestController::renderArray function core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php
RenderCache::getCacheableRenderArray function core/lib/Drupal/Core/Render/RenderCache.php Gets a cacheable render array for a render array and its rendered output.
RenderCacheInterface::getCacheableRenderArray function core/lib/Drupal/Core/Render/RenderCacheInterface.php Gets a cacheable render array for a render array and its rendered output.
render_array_non_html_subscriber_test.info.yml file core/modules/system/tests/modules/render_array_non_html_subscriber_test/render_array_non_html_subscriber_test.info.yml core/modules/system/tests/modules/render_array_non_html_subscriber_test/render_array_non_html_subscriber_test.info.yml
render_array_non_html_subscriber_test.routing.yml file core/modules/system/tests/modules/render_array_non_html_subscriber_test/render_array_non_html_subscriber_test.routing.yml core/modules/system/tests/modules/render_array_non_html_subscriber_test/render_array_non_html_subscriber_test.routing.yml
ResourceObjectNormalizationCacher::generateLookupRenderArray function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Generates a lookup render array for a normalization.
Section::fromArray function core/modules/layout_builder/src/Section.php Creates an object from an array representation of the section.
Section::toArray function core/modules/layout_builder/src/Section.php Returns an array representation of the section.
Section::toRenderArray function core/modules/layout_builder/src/Section.php Returns the renderable array for this section.
SectionComponent::fromArray function core/modules/layout_builder/src/SectionComponent.php Creates an object from an array representation of the section component.
SectionComponent::toArray function core/modules/layout_builder/src/SectionComponent.php Returns an array representation of the section component.
SectionComponent::toRenderArray function core/modules/layout_builder/src/SectionComponent.php Returns the renderable array for this component.
SectionComponentBuildRenderArrayEvent class core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Event fired when a section component's render array is being built.
SectionComponentBuildRenderArrayEvent.php file core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php
SectionComponentBuildRenderArrayEvent::$build property core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php The render array built by the event subscribers.
SectionComponentBuildRenderArrayEvent::$component property core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php The section component whose render array is being built.
SectionComponentBuildRenderArrayEvent::$contexts property core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php The available contexts.
SectionComponentBuildRenderArrayEvent::$inPreview property core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Whether the component is in preview mode or not.
SectionComponentBuildRenderArrayEvent::$plugin property core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php The plugin for the section component being built.
SectionComponentBuildRenderArrayEvent::getBuild function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Get the render array in its current state.
SectionComponentBuildRenderArrayEvent::getComponent function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Get the section component whose render array is being built.
SectionComponentBuildRenderArrayEvent::getContexts function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Get the available contexts.
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]]
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().

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