function Element::trustedCallbacks
Same name in other branches
- 8.9.x core/modules/editor/src/Element.php \Drupal\editor\Element::trustedCallbacks()
- 10 core/modules/editor/src/Element.php \Drupal\editor\Element::trustedCallbacks()
- 11.x core/modules/editor/src/Element.php \Drupal\editor\Element::trustedCallbacks()
Overrides TrustedCallbackInterface::trustedCallbacks
File
-
core/
modules/ editor/ src/ Element.php, line 36
Class
- Element
- Defines a service for Text Editor's render elements.
Namespace
Drupal\editorCode
public static function trustedCallbacks() {
return [
'preRenderTextFormat',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.