public function TextFormat::getInfo in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/filter/src/Element/TextFormat.php \Drupal\filter\Element\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 46 - Contains \Drupal\filter\Element\TextFormat.
Class
- TextFormat
- Provides a text format render element.
Namespace
Drupal\filter\ElementCode
public function getInfo() {
$class = get_class($this);
return array(
'#process' => array(
array(
$class,
'processFormat',
),
),
'#base_type' => 'textarea',
'#theme_wrappers' => array(
'text_format_wrapper',
),
);
}