function LayoutBuilder::getInfo

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Element/LayoutBuilder.php \Drupal\layout_builder\Element\LayoutBuilder::getInfo()
  2. 8.9.x core/modules/layout_builder/src/Element/LayoutBuilder.php \Drupal\layout_builder\Element\LayoutBuilder::getInfo()
  3. 10 core/modules/layout_builder/src/Element/LayoutBuilder.php \Drupal\layout_builder\Element\LayoutBuilder::getInfo()

Overrides ElementInterface::getInfo

File

core/modules/layout_builder/src/Element/LayoutBuilder.php, line 72

Class

LayoutBuilder
Defines a render element for building the Layout Builder UI.

Namespace

Drupal\layout_builder\Element

Code

public function getInfo() {
    return [
        '#section_storage' => NULL,
        '#pre_render' => [
            [
                $this,
                'preRender',
            ],
        ],
    ];
}

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