public function GuardFactoryInterface::get in State Machine 8
Gets the instantiated guards for the given group ID.
Parameters
string $group_id: The group ID.
Return value
\Drupal\state_machine\Guard\GuardInterface[] The instantiated guards.
1 method overrides GuardFactoryInterface::get()
- GuardFactory::get in src/
Guard/ GuardFactory.php - Gets the instantiated guards for the given group ID.
File
- src/
Guard/ GuardFactoryInterface.php, line 19
Class
- GuardFactoryInterface
- Defines the interface for guard factories.
Namespace
Drupal\state_machine\GuardCode
public function get($group_id);