You are here

public function HtmlElement::getInfo in Field Group 8.3

Same name and namespace in other branches
  1. 8 src/Element/HtmlElement.php \Drupal\field_group\Element\HtmlElement::getInfo()

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/HtmlElement.php, line 18

Class

HtmlElement
Provides a render element for a html element.

Namespace

Drupal\field_group\Element

Code

public function getInfo() {
  $class = get_class($this);
  return [
    '#process' => [
      [
        $class,
        'processGroup',
      ],
      [
        $class,
        'processHtmlElement',
      ],
    ],
    '#pre_render' => [
      [
        $class,
        'preRenderGroup',
      ],
    ],
    '#theme_wrappers' => [
      'field_group_html_element',
    ],
  ];
}