public function WorkflowTransitionInterface::force in Workflow 8
Set if a transition must be executed, even if transition is invalid or user not authorized.
Parameters
bool $force:
Return value
object The transition itself.
1 method overrides WorkflowTransitionInterface::force()
- WorkflowTransition::force in src/
Entity/ WorkflowTransition.php - Set if a transition must be executed, even if transition is invalid or user not authorized.
File
- src/
Entity/ WorkflowTransitionInterface.php, line 281
Class
- WorkflowTransitionInterface
- Defines a common interface for Workflow*Transition* objects.
Namespace
Drupal\workflow\EntityCode
public function force($force = TRUE);