Issue #2855428 by Sam152, jhedstrom, timmillwood: Workflow state and transition add/edit form IDs have a '-' in them

8.4.x
Alex Pott 2017-03-03 11:11:17 +00:00
parent b0af9e9954
commit eb83216e26
4 changed files with 28 additions and 0 deletions

View File

@ -11,6 +11,13 @@ use Drupal\Core\Form\FormStateInterface;
*/
class WorkflowStateAddForm extends EntityForm {
/**
* {@inheritdoc}
*/
public function getFormId() {
return 'workflow_state_add_form';
}
/**
* {@inheritdoc}
*/

View File

@ -19,6 +19,13 @@ class WorkflowStateEditForm extends EntityForm {
*/
protected $stateId;
/**
* {@inheritdoc}
*/
public function getFormId() {
return 'workflow_state_edit_form';
}
/**
* {@inheritdoc}
*/

View File

@ -12,6 +12,13 @@ use Drupal\workflows\State;
*/
class WorkflowTransitionAddForm extends EntityForm {
/**
* {@inheritdoc}
*/
public function getFormId() {
return 'workflow_transition_add_form';
}
/**
* {@inheritdoc}
*/

View File

@ -20,6 +20,13 @@ class WorkflowTransitionEditForm extends EntityForm {
*/
protected $transitionId;
/**
* {@inheritdoc}
*/
public function getFormId() {
return 'workflow_transition_edit_form';
}
/**
* {@inheritdoc}
*/