You are here

public function AfterEntityPull::getEntity 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::getEntity()
  2. 2.0.x src/Event/AfterEntityPull.php \Drupal\cms_content_sync\Event\AfterEntityPull::getEntity()

Get the pushed entity.

Return value

\Drupal\Core\Entity\EntityInterface

File

src/Event/AfterEntityPull.php, line 51

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 getEntity() {
  return $this->entity;
}