diff --git a/core/modules/workflows/src/Form/WorkflowStateAddForm.php b/core/modules/workflows/src/Form/WorkflowStateAddForm.php index c9b46e2c352..0b368585b73 100644 --- a/core/modules/workflows/src/Form/WorkflowStateAddForm.php +++ b/core/modules/workflows/src/Form/WorkflowStateAddForm.php @@ -11,6 +11,13 @@ use Drupal\Core\Form\FormStateInterface; */ class WorkflowStateAddForm extends EntityForm { + /** + * {@inheritdoc} + */ + public function getFormId() { + return 'workflow_state_add_form'; + } + /** * {@inheritdoc} */ diff --git a/core/modules/workflows/src/Form/WorkflowStateEditForm.php b/core/modules/workflows/src/Form/WorkflowStateEditForm.php index 75af1d6b40e..f21508ff643 100644 --- a/core/modules/workflows/src/Form/WorkflowStateEditForm.php +++ b/core/modules/workflows/src/Form/WorkflowStateEditForm.php @@ -19,6 +19,13 @@ class WorkflowStateEditForm extends EntityForm { */ protected $stateId; + /** + * {@inheritdoc} + */ + public function getFormId() { + return 'workflow_state_edit_form'; + } + /** * {@inheritdoc} */ diff --git a/core/modules/workflows/src/Form/WorkflowTransitionAddForm.php b/core/modules/workflows/src/Form/WorkflowTransitionAddForm.php index 1c557d929b0..fe3a40636d6 100644 --- a/core/modules/workflows/src/Form/WorkflowTransitionAddForm.php +++ b/core/modules/workflows/src/Form/WorkflowTransitionAddForm.php @@ -12,6 +12,13 @@ use Drupal\workflows\State; */ class WorkflowTransitionAddForm extends EntityForm { + /** + * {@inheritdoc} + */ + public function getFormId() { + return 'workflow_transition_add_form'; + } + /** * {@inheritdoc} */ diff --git a/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php b/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php index b6f65a48a8e..5bbabae6f7a 100644 --- a/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php +++ b/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php @@ -20,6 +20,13 @@ class WorkflowTransitionEditForm extends EntityForm { */ protected $transitionId; + /** + * {@inheritdoc} + */ + public function getFormId() { + return 'workflow_transition_edit_form'; + } + /** * {@inheritdoc} */