You are here

protected property WorkflowGroupManager::$defaults in State Machine 8

Default values for each workflow_group plugin.

Type: array

Overrides DefaultPluginManager::$defaults

File

src/WorkflowGroupManager.php, line 27

Class

WorkflowGroupManager
Manages discovery and instantiation of workflow_group plugins.

Namespace

Drupal\state_machine

Code

protected $defaults = [
  'id' => '',
  'label' => '',
  'entity_type' => '',
  'class' => WorkflowGroup::class,
  // Groups can override the default workflow class for advanced use cases.
  'workflow_class' => Workflow::class,
];