protected function WorkflowManagerCacheTest::getMockWorkflowDefinitions in State Machine 8
Gets a mocked workflow plugin definition.
Return value
array The mocked workflow definition.
File
- tests/
src/ Unit/ WorkflowManagerCacheTest.php, line 145
Class
- WorkflowManagerCacheTest
- Tests the cache of the workflow manager.
Namespace
Drupal\Tests\state_machine\UnitCode
protected function getMockWorkflowDefinitions() {
return [
'test_workflow' => [
'group' => $this->groupId,
'states' => [],
'transitions' => [],
],
];
}