public function AfterEntityPush::__construct in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Event/AfterEntityPush.php \Drupal\cms_content_sync\Event\AfterEntityPush::__construct()
- 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\EventCode
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;
}