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
1 2 3 4 5 | function content_moderation_form_alter(& $form , FormStateInterface $form_state , $form_id ) { \Drupal::service( 'class_resolver' ) ->getInstanceFromDefinition(EntityTypeInfo:: class ) ->formAlter( $form , $form_state , $form_id ); } |
Please login to continue.