function TextFormat::elementInfo
Wraps the element info service.
Return value
\Drupal\Core\Render\ElementInfoManagerInterface The element info service.
File
-
core/
modules/ filter/ src/ Element/ TextFormat.php, line 309
Class
- TextFormat
- Provides a text format render element.
Namespace
Drupal\filter\ElementCode
protected static function elementInfo() {
return \Drupal::service('element_info');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.