diff --git a/varbase_workflow.module b/varbase_workflow.module index 1bb5f9b3823f43d60cf0065c6a8b45fc1552139c..ba41e545782802b5c7cb45d228be973aaec4bac3 100644 --- a/varbase_workflow.module +++ b/varbase_workflow.module @@ -95,16 +95,6 @@ function varbase_workflow_form_alter(array &$form, FormStateInterface $form_stat // Change the title of the submit button. $form['actions']['submit']['#value'] = t('Save as'); - // Move unlock to be a gin action item. - if (isset($form['actions']['unlock'])) { - $form['actions']['unlock']['#gin_action_item'] = TRUE; - } - - // Move delete to be a gin action item. - if (isset($form['actions']['delete'])) { - $form['actions']['delete']['#gin_action_item'] = TRUE; - } - // Add the Varbase Workflow moderation status theme styling library to fit in with actions. $form['#attached']['library'][] = 'varbase_workflow/moderation-state'; }