public function WorkflowTransition::getComment in Workflow 8
Get the comment of the Transition.
Return value
The comment
Overrides WorkflowTransitionInterface::getComment
3 calls to WorkflowTransition::getComment()
- WorkflowScheduledTransition::save in src/
Entity/ WorkflowScheduledTransition.php - Saves a scheduled transition. If the transition is executed, save in history.
- WorkflowTransition::execute in src/
Entity/ WorkflowTransition.php - Execute a transition (change state of an entity).
- WorkflowTransition::isEmpty in src/
Entity/ WorkflowTransition.php - Check if anything has changed in this transition.
File
- src/
Entity/ WorkflowTransition.php, line 763
Class
- WorkflowTransition
- Implements an actual, executed, Transition.
Namespace
Drupal\workflow\EntityCode
public function getComment() {
return $this
->get('comment')->value;
}