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