WorkflowGroup.php in State Machine 8
File
src/Plugin/WorkflowGroup/WorkflowGroup.php
View source
<?php
namespace Drupal\state_machine\Plugin\WorkflowGroup;
use Drupal\Core\Plugin\PluginBase;
class WorkflowGroup extends PluginBase implements WorkflowGroupInterface {
public function getId() {
return $this->pluginDefinition['id'];
}
public function getLabel() {
return $this->pluginDefinition['label'];
}
public function getEntityTypeId() {
return $this->pluginDefinition['entity_type'];
}
public function getWorkflowClass() {
return $this->pluginDefinition['workflow_class'];
}
}