public function ModerationHandlerInterface::enforceRevisionsEntityFormAlter in Drupal 10
Same name and namespace in other branches
- 8 core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php \Drupal\content_moderation\Entity\Handler\ModerationHandlerInterface::enforceRevisionsEntityFormAlter()
- 9 core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php \Drupal\content_moderation\Entity\Handler\ModerationHandlerInterface::enforceRevisionsEntityFormAlter()
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.
See also
File
- core/
modules/ content_moderation/ src/ Entity/ Handler/ ModerationHandlerInterface.php, line 66
Class
- ModerationHandlerInterface
- Defines operations that need to vary by entity type.
Namespace
Drupal\content_moderation\Entity\HandlerCode
public function enforceRevisionsEntityFormAlter(array &$form, FormStateInterface $form_state, $form_id);