function content_kanban_form_workflow_state_edit_form_alter in Content Planner 8
Implements hook_form_form_id_alter().
Parameters
$form:
\Drupal\Core\Form\FormStateInterface $form_state: _id
File
- modules/
content_kanban/ content_kanban.module, line 128 - Contains content_kanban.module.
Code
function content_kanban_form_workflow_state_edit_form_alter(&$form, FormStateInterface $form_state, $form_id) {
// Enable default revision options to all workflows states to avoid issue:
// https://www.drupal.org/project/content_planner/issues/3010615
$form['type_settings']['default_revision']['#disabled'] = false;
}