You are here

public static function Element::trustedCallbacks in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/editor/src/Element.php \Drupal\editor\Element::trustedCallbacks()
  2. 9 core/modules/editor/src/Element.php \Drupal\editor\Element::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',
  ];
}