public function WorkflowTransitionEvent::getEntity in State Machine 8
Gets the entity.
Return value
\Drupal\Core\Entity\ContentEntityInterface The entity.
File
- src/
Event/ WorkflowTransitionEvent.php, line 88
Class
- WorkflowTransitionEvent
- Defines the workflow transition event.
Namespace
Drupal\state_machine\EventCode
public function getEntity() {
return $this->entity;
}