public function EntityInsertEvent::__construct in Entity Share 8.2
EntityAlterEvent constructor.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity being manipulated.
\Drupal\entity_share_client\Entity\RemoteInterface $remote: The remote entity.
File
- modules/
entity_share_client/ src/ Event/ EntityInsertEvent.php, line 40
Class
- EntityInsertEvent
- Defines an event for altering the entity.
Namespace
Drupal\entity_share_client\EventCode
public function __construct(EntityInterface $entity, RemoteInterface $remote) {
$this->entity = $entity;
$this->remote = $remote;
}