You are here

public function AfterEntityPush::__construct in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 8 src/Event/AfterEntityPush.php \Drupal\cms_content_sync\Event\AfterEntityPush::__construct()
  2. 2.0.x src/Event/AfterEntityPush.php \Drupal\cms_content_sync\Event\AfterEntityPush::__construct()

Constructs a entity push event.

Parameters

$reason:

$action:

File

src/Event/AfterEntityPush.php, line 55

Class

AfterEntityPush
The entity has been pushed successfully. Other modules can use this to react on successful push events.

Namespace

Drupal\cms_content_sync\Event

Code

public function __construct(EntityInterface $entity, PoolInterface $pool, FlowInterface $flow, $reason, $action) {
  $this->entity = $entity;
  $this->pool = $pool;
  $this->flow = $flow;
  $this->reason = $reason;
  $this->action = $action;
}