You are here

protected property WorkbenchModerationTransitionEvent::$entity in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/Event/WorkbenchModerationTransitionEvent.php \Drupal\workbench_moderation\Event\WorkbenchModerationTransitionEvent::entity

The entity which was changed.

Type: \Drupal\Core\Entity\ContentEntityInterface

File

src/Event/WorkbenchModerationTransitionEvent.php, line 20

Class

WorkbenchModerationTransitionEvent
Defines a class for transition events.

Namespace

Drupal\workbench_moderation\Event

Code

protected $entity;