function ContentModerationHooks::formAlter
Implements hook_form_alter().
File
-
core/
modules/ content_moderation/ src/ Hook/ ContentModerationHooks.php, line 169
Class
- ContentModerationHooks
- Hook implementations for content_moderation.
Namespace
Drupal\content_moderation\HookCode
public function formAlter(&$form, FormStateInterface $form_state, $form_id) : void {
\Drupal::service('class_resolver')->getInstanceFromDefinition(EntityTypeInfo::class)
->formAlter($form, $form_state, $form_id);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.