Commit b458a26c authored by Crell's avatar Crell

Default to all moderation states, rather than none.

parent 581ed44f
......@@ -82,7 +82,7 @@ class BundleModerationConfigurationForm extends EntityForm {
'#type' => 'checkboxes',
'#title' => t('Allowed moderation states.'),
'#description' => t('The allowed moderation states this content-type can be assigned. You must select at least one published and one non-published state.'),
'#default_value' => $bundle->getThirdPartySetting('workbench_moderation', 'allowed_moderation_states', []),
'#default_value' => $bundle->getThirdPartySetting('workbench_moderation', 'allowed_moderation_states', array_keys($options)),
'#options' => $options,
'#states' => [
'visible' => [
......
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