ProcessedText::getInfo

public 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 22

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'),
    ),
  );
}
doc_Drupal
2016-10-29 09:35:00
Comments
Leave a Comment

Please login to continue.