public static function WorkflowManagerInterface::participateUserRoles in Workflow 8
Implements hook_WORKFLOW_insert().
Make sure some roles are allowed to participate in a Workflow by default.
Parameters
\Drupal\Core\Entity\EntityInterface $workflow:
1 method overrides WorkflowManagerInterface::participateUserRoles()
- WorkflowManager::participateUserRoles in src/
Entity/ WorkflowManager.php - Implements hook_WORKFLOW_insert().
File
- src/
Entity/ WorkflowManagerInterface.php, line 52
Class
- WorkflowManagerInterface
- Provides an interface for workflow manager.
Namespace
Drupal\workflow\EntityCode
public static function participateUserRoles(EntityInterface $workflow);