function Element::trustedCallbacks

Same name in other branches
  1. 9 core/modules/editor/src/Element.php \Drupal\editor\Element::trustedCallbacks()
  2. 8.9.x core/modules/editor/src/Element.php \Drupal\editor\Element::trustedCallbacks()
  3. 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\editor

Code

public static function trustedCallbacks() {
    return [
        'preRenderTextFormat',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.