Commit f572d837 authored by alexpott's avatar alexpott

Revert "Issue #2855428 by Sam152, jhedstrom, timmillwood: Workflow state and...

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

This reverts commit 973e6b4f.
parent 973e6b4f
......@@ -90,7 +90,7 @@ public function getFormId() {
$form_id .= '_' . $this->entity->bundle();
}
if ($this->operation != 'default') {
$form_id = $form_id . '_' . str_replace('-', '_', $this->operation);
$form_id = $form_id . '_' . $this->operation;
}
return $form_id . '_form';
}
......
......@@ -97,11 +97,6 @@ public function providerTestFormIds() {
'bundle' => '',
'operation' => 'delete',
)),
array('workflow_edit_state_form', array(
'entity_type' => 'workflow',
'bundle' => '',
'operation' => 'edit-state',
)),
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment