You are here

public function WorkflowGroup::getEntityTypeId in State Machine 8

Gets the entity type ID.

For example, "node" if all workflows in the group are used on content.

Return value

string The entity type ID.

Overrides WorkflowGroupInterface::getEntityTypeId

File

src/Plugin/WorkflowGroup/WorkflowGroup.php, line 29

Class

WorkflowGroup
Defines the class for workflow groups.

Namespace

Drupal\state_machine\Plugin\WorkflowGroup

Code

public function getEntityTypeId() {
  return $this->pluginDefinition['entity_type'];
}