You are here

protected property WorkflowGroupTest::$definition in State Machine 8

The plugin definition array.

Type: array

File

tests/src/Unit/Plugin/WorkflowGroup/WorkflowGroupTest.php, line 27

Class

WorkflowGroupTest
@coversDefaultClass \Drupal\state_machine\Plugin\WorkflowGroup\WorkflowGroup @group state_machine

Namespace

Drupal\Tests\state_machine\Unit\Plugin\WorkflowGroup

Code

protected $definition = [
  'id' => 'entity_test',
  'label' => 'Entity Test',
  'entity_type' => 'entity_test',
  'class' => WorkflowGroup::class,
  'workflow_class' => Workflow::class,
  'provider' => 'state_machine_test',
];