You are here

public function WorkflowTransition::isForced in Workflow 8

A transition may be forced skipping checks.

Return value

bool If the transition is forced. (Allow not-configured transitions).

Overrides WorkflowTransitionInterface::isForced

1 call to WorkflowTransition::isForced()
WorkflowTransition::execute in src/Entity/WorkflowTransition.php
Execute a transition (change state of an entity).

File

src/Entity/WorkflowTransition.php, line 853

Class

WorkflowTransition
Implements an actual, executed, Transition.

Namespace

Drupal\workflow\Entity

Code

public function isForced() {
  return (bool) $this->isForced;
}