You are here

public function AfterEntityPush::getEntity in CMS Content Sync 8

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

Get the pushed entity.

Return value

\Drupal\Core\Entity\EntityInterface

File

src/Event/AfterEntityPush.php, line 69

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