ModerationHandler::enforceRevisionsEntityFormAlter

public ModerationHandler::enforceRevisionsEntityFormAlter(array &$form, FormStateInterface $form_state, $form_id)

Alters entity forms to enforce revision handling.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

string $form_id: The form id.

Overrides ModerationHandlerInterface::enforceRevisionsEntityFormAlter

See also

hook_form_alter()

File

core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php, line 66

Class

ModerationHandler
Common customizations for most/all entities.

Namespace

Drupal\content_moderation\Entity\Handler

Code

public function enforceRevisionsEntityFormAlter(array &$form, FormStateInterface $form_state, $form_id) {
}
doc_Drupal
2016-10-29 09:28:30
Comments
Leave a Comment

Please login to continue.