You are here

public function Container::getInfo in Bootstrap Layout Builder 2.x

Returns the element properties for this element.

Return value

array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.

Overrides ElementInterface::getInfo

File

src/Element/Container.php, line 17

Class

Container
Provides a container wrapper element.

Namespace

Drupal\bootstrap_layout_builder\Element

Code

public function getInfo() {
  return [
    '#theme' => 'blb_container',
    '#attributes' => [],
    '#children' => [],
  ];
}