You are here

interface GuardFactoryInterface in State Machine 8

Defines the interface for guard factories.

Hierarchy

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\Guard
View 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

Namesort descending Modifiers Type Description Overrides
GuardFactoryInterface::get public function Gets the instantiated guards for the given group ID. 1