You are here

public function AfterEntityPull::__construct in CMS Content Sync 8

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

Constructs a entity pull event.

File

src/Event/AfterEntityPull.php, line 32

Class

AfterEntityPull
The entity has been pulled successfully. Other modules can use this to react on successful pull events.

Namespace

Drupal\cms_content_sync\Event

Code

public function __construct(EntityInterface $entity, PullIntent $intent) {
  $this->entity = $entity;
  $this->intent = $intent;
}