You are here

Container.php in Bootstrap Layout Builder 2.x

File

src/Element/Container.php
View source
<?php

namespace Drupal\bootstrap_layout_builder\Element;

use Drupal\Core\Render\Element\RenderElement;

/**
 * Provides a container wrapper element.
 *
 * @RenderElement("blb_container")
 */
class Container extends RenderElement {

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

}

Classes

Namesort descending Description
Container Provides a container wrapper element.