You are here

public function WorkbenchModerationTransitionEvent::getEntity in Workbench Moderation 8.2

Same name and namespace in other branches
  1. 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

WorkbenchModerationTransitionEvent

Namespace

Drupal\workbench_moderation\Event

Code

public function getEntity() {
  return $this->entity;
}