public function ProcessedText::getInfo in Drupal 9
Same name and namespace in other branches
- 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 23
Class
- ProcessedText
- Provides a processed text render element.
Namespace
Drupal\filter\ElementCode
public function getInfo() {
$class = static::class;
return [
'#text' => '',
'#format' => NULL,
'#filter_types_to_skip' => [],
'#langcode' => '',
'#pre_render' => [
[
$class,
'preRenderText',
],
],
];
}