content_moderation_form_alter

content_moderation_form_alter(&$form, FormStateInterface $form_state, $form_id)

Implements hook_form_alter().

File

core/modules/content_moderation/content_moderation.module, line 130
Contains content_moderation.module.

Code

function content_moderation_form_alter(&$form, FormStateInterface $form_state, $form_id) {
  \Drupal::service('class_resolver')
    ->getInstanceFromDefinition(EntityTypeInfo::class)
    ->formAlter($form, $form_state, $form_id);
}
doc_Drupal
2016-10-29 08:58:34
Comments
Leave a Comment

Please login to continue.