Search for toRenderArray

  1. Search 7.x for toRenderArray
  2. Search 9.5.x for toRenderArray
  3. Search 8.9.x for toRenderArray
  4. Search 11.x for toRenderArray
  5. Other projects
Title Object type File name Summary
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[[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]]
Url::toRenderArray function core/lib/Drupal/Core/Url.php Returns the route information for a render array.
UrlTest::testToRenderArray function core/tests/Drupal/Tests/Core/UrlTest.php Tests deprecation of toRenderArray() method.

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