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
ProjectRelease::createFromArray function core/modules/update/src/ProjectRelease.php Creates a ProjectRelease instance from an array.
ProjectReleaseTest::providerCreateFromArray function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArray().
ProjectReleaseTest::providerCreateFromArrayInvalidField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArrayInvalidField().
ProjectReleaseTest::providerCreateFromArrayMissingField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArrayMissingField().
ProjectReleaseTest::testCreateFromArray function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests creating with valid data.
ProjectReleaseTest::testCreateFromArrayInvalidField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests exceptions for invalid field types.
ProjectReleaseTest::testCreateFromArrayMissingField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests exceptions with missing fields.
QueryTest::testArrayArgumentsSQLInjection function core/tests/Drupal/KernelTests/Core/Database/QueryTest.php Tests SQL injection via database query array arguments.
QueryTest::testArraySubstitution function core/tests/Drupal/KernelTests/Core/Database/QueryTest.php Tests that we can pass an array of values directly in the query.
RearrangeFilter::arrayKeyPlus function core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php Adds one to each key of an array.
RedirectDestination::getAsArray function core/lib/Drupal/Core/Routing/RedirectDestination.php Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url.
RedirectDestinationInterface::getAsArray function core/lib/Drupal/Core/Routing/RedirectDestinationInterface.php Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url.
RedirectDestinationTest::testGetAsArray function core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php @dataProvider providerGet
RedirectDestinationTrait::getDestinationArray function core/lib/Drupal/Core/Routing/RedirectDestinationTrait.php Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url.
RenderArrayNonHtmlSubscriber class core/lib/Drupal/Core/EventSubscriber/RenderArrayNonHtmlSubscriber.php Throws 406 if requesting non-HTML format and controller returns render array.
RenderArrayNonHtmlSubscriber.php file core/lib/Drupal/Core/EventSubscriber/RenderArrayNonHtmlSubscriber.php
RenderArrayNonHtmlSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/RenderArrayNonHtmlSubscriber.php
RenderArrayNonHtmlSubscriber::onRespond function core/lib/Drupal/Core/EventSubscriber/RenderArrayNonHtmlSubscriber.php Throws an HTTP 406 error if client requested a non-HTML format.
RenderArrayNonHtmlSubscriberTest class core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php Functional test verifying that render array throws 406 for non-HTML requests.
RenderArrayNonHtmlSubscriberTest.php file core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php
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.
RenderDeprecationController::renderArray function core/modules/system/tests/modules/render_deprecation/src/RenderDeprecationController.php
RendererPlaceholdersTest::testNonArrayReturnFromLazyBuilder function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Tests that an error is thrown if a lazy builder doesn't return an array.
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.

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