You are here

public static function FormBuilder::trustedCallbacks in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::trustedCallbacks()
  2. 9 core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::trustedCallbacks()

File

core/lib/Drupal/Core/Form/FormBuilder.php, line 1421

Class

FormBuilder
Provides form building and processing.

Namespace

Drupal\Core\Form

Code

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