You are here

public property BeforeEntityPush::$entity in CMS Content Sync 2.0.x

Same name and namespace in other branches
  1. 8 src/Event/BeforeEntityPush.php \Drupal\cms_content_sync\Event\BeforeEntityPush::entity
  2. 2.1.x src/Event/BeforeEntityPush.php \Drupal\cms_content_sync\Event\BeforeEntityPush::entity

Entity.

Type: \Drupal\Core\Entity\EntityInterface

File

src/Event/BeforeEntityPush.php, line 23

Class

BeforeEntityPush
An entity is about to be pushed. Other modules can use this to interact with the push, primarily to add, change or remove field values.

Namespace

Drupal\cms_content_sync\Event

Code

public $entity;