Skip to content
Snippets Groups Projects
Commit f572d837 authored by Alex Pott's avatar Alex Pott
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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',
)),
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment