public function ModerationHandlerInterface::enforceRevisionsBundleFormAlter in Workbench Moderation 8
Same name and namespace in other branches
- 8.2 src/Entity/Handler/ModerationHandlerInterface.php \Drupal\workbench_moderation\Entity\Handler\ModerationHandlerInterface::enforceRevisionsBundleFormAlter()
Alters bundle 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
1 method overrides ModerationHandlerInterface::enforceRevisionsBundleFormAlter()
- ModerationHandler::enforceRevisionsBundleFormAlter in src/
Entity/ Handler/ ModerationHandler.php - Alters bundle forms to enforce revision handling.
File
- src/
Entity/ Handler/ ModerationHandlerInterface.php, line 71
Class
- ModerationHandlerInterface
- Defines operations that need to vary by entity type.
Namespace
Drupal\workbench_moderation\Entity\HandlerCode
public function enforceRevisionsBundleFormAlter(array &$form, FormStateInterface $form_state, $form_id);