public function WorkbenchModerationTransitionEvent::getEntity in Workbench Moderation 8.2
Same name and namespace in other branches
- 8 src/Event/WorkbenchModerationTransitionEvent.php \Drupal\workbench_moderation\Event\WorkbenchModerationTransitionEvent::getEntity()
Returns the changed entity.
Return value
\Drupal\Core\Entity\ContentEntityInterface
File
- src/
Event/ WorkbenchModerationTransitionEvent.php, line 51
Class
Namespace
Drupal\workbench_moderation\EventCode
public function getEntity() {
return $this->entity;
}