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'),
);
}
Please login to continue.