TextFormat::getInfo

public TextFormat::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/TextFormat.php, line 41

Class

TextFormat
Provides a text format render element.

Namespace

Drupal\filter\Element

Code

public function getInfo() {
  $class = get_class($this);
  return array(
    '#process' => array(
      array($class, 'processFormat'),
    ),
    '#base_type' => 'textarea',
    '#theme_wrappers' => array('text_format_wrapper'),
  );
}
doc_Drupal
2016-10-29 09:47:39
Comments
Leave a Comment

Please login to continue.