diff --git a/src/Entity/WorkflowState.php b/src/Entity/WorkflowState.php index ab9660b..437bc48 100644 --- a/src/Entity/WorkflowState.php +++ b/src/Entity/WorkflowState.php @@ -323,7 +323,7 @@ class WorkflowState extends ConfigEntityBase { $options = $this->getOptions($entity, $field_name, $account, $force); $count = count($options); // The easiest case first: more then one option: always show form. - if ($count > 1) { + if ($count >= 1) { return TRUE; } // #2226451: Even in Creation state, we must have 2 visible states to show the widget.