interface GuardFactoryInterface in State Machine 8
Defines the interface for guard factories.
Hierarchy
- interface \Drupal\state_machine\Guard\GuardFactoryInterface
Expanded class hierarchy of GuardFactoryInterface
All classes that implement GuardFactoryInterface
3 files declare their use of GuardFactoryInterface
- Workflow.php in src/
Plugin/ Workflow/ Workflow.php - WorkflowManagerCacheTest.php in tests/
src/ Unit/ WorkflowManagerCacheTest.php - WorkflowTest.php in tests/
src/ Unit/ Plugin/ Workflow/ WorkflowTest.php
File
- src/
Guard/ GuardFactoryInterface.php, line 8
Namespace
Drupal\state_machine\GuardView source
interface GuardFactoryInterface {
/**
* Gets the instantiated guards for the given group ID.
*
* @param string $group_id
* The group ID.
*
* @return \Drupal\state_machine\Guard\GuardInterface[]
* The instantiated guards.
*/
public function get($group_id);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GuardFactoryInterface:: |
public | function | Gets the instantiated guards for the given group ID. | 1 |