You are here

public function ProcessedText::getInfo in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/filter/src/Element/ProcessedText.php \Drupal\filter\Element\ProcessedText::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

core/modules/filter/src/Element/ProcessedText.php, line 27
Contains \Drupal\filter\Element\ProcessedText.

Class

ProcessedText
Provides a processed text render element.

Namespace

Drupal\filter\Element

Code

public function getInfo() {
  $class = get_class($this);
  return array(
    '#text' => '',
    '#format' => NULL,
    '#filter_types_to_skip' => array(),
    '#langcode' => '',
    '#pre_render' => array(
      array(
        $class,
        'preRenderText',
      ),
    ),
  );
}