Search for toRenderArray

  1. Search 7.x for toRenderArray
  2. Search 8.9.x for toRenderArray
  3. Search 10.3.x for toRenderArray
  4. Search 11.x for toRenderArray
  5. Other projects
Title Object type File name Summary
DynamicPageCacheSubscriber::responseToRenderArray function core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php Embeds a Response object in a render array so that RenderCache can cache it.
Section::toRenderArray function core/modules/layout_builder/src/Section.php Returns the renderable array for this section.
SectionComponent::toRenderArray function core/modules/layout_builder/src/SectionComponent.php Returns the renderable array for this component.
SectionComponentTest::testToRenderArray function core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php @covers ::toRenderArray
SectionRenderTest::testToRenderArray function core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @covers ::toRenderArray
SectionRenderTest::testToRenderArrayAccessDenied function core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @covers ::toRenderArray
SectionRenderTest::testToRenderArrayEmpty function core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @covers ::toRenderArray
SectionRenderTest::testToRenderArrayMissingPluginId function core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @covers ::toRenderArray
SectionRenderTest::testToRenderArrayPreview function core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @covers ::toRenderArray
Url::toRenderArray function core/lib/Drupal/Core/Url.php Returns the route information for a render array.

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