You are here

interface WorkflowGroupManagerInterface in State Machine 8

Defines the interface for workflow_group plugin managers.

Hierarchy

Expanded class hierarchy of WorkflowGroupManagerInterface

All classes that implement WorkflowGroupManagerInterface

1 file declares its use of WorkflowGroupManagerInterface
WorkflowManagerCacheTest.php in tests/src/Unit/WorkflowManagerCacheTest.php

File

src/WorkflowGroupManagerInterface.php, line 10

Namespace

Drupal\state_machine
View source
interface WorkflowGroupManagerInterface extends PluginManagerInterface {

  /**
   * Gets the definitions filtered by entity type.
   *
   * @param string $entity_type_id
   *   The entity type ID.
   *
   * @return array
   *   The definitions.
   */
  public function getDefinitionsByEntityType($entity_type_id = NULL);

}

Members

Namesort descending Modifiers Type Description Overrides
DiscoveryInterface::getDefinition public function Gets a specific plugin definition. 4
DiscoveryInterface::getDefinitions public function Gets the definition of all plugins for this type. 3
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists. 2
FactoryInterface::createInstance public function Creates a pre-configured instance of a plugin. 7
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. 4
WorkflowGroupManagerInterface::getDefinitionsByEntityType public function Gets the definitions filtered by entity type. 1