You are here

public function WorkflowManagerInterface::getGroupedLabels in State Machine 8

Gets the grouped workflow labels.

Parameters

string $entity_type_id: (optional) The entity type id to filter by. If provided, only workflows that belong to groups with the specified entity type will be returned.

Return value

array Keys are group labels, and values are arrays of which the keys are workflow IDs and the values are workflow labels.

1 method overrides WorkflowManagerInterface::getGroupedLabels()
WorkflowManager::getGroupedLabels in src/WorkflowManager.php
Gets the grouped workflow labels.

File

src/WorkflowManagerInterface.php, line 23

Class

WorkflowManagerInterface
Defines the interface for workflow plugin managers.

Namespace

Drupal\state_machine

Code

public function getGroupedLabels($entity_type_id = NULL);