public function ImportEvent::setEntity in Content Synchronizer 8
Same name and namespace in other branches
- 8.2 src/Events/ImportEvent.php \Drupal\content_synchronizer\Events\ImportEvent::setEntity()
- 3.x src/Events/ImportEvent.php \Drupal\content_synchronizer\Events\ImportEvent::setEntity()
Set the entity.
Parameters
\Drupal\Core\Entity\Entity $entity: THe entity.
File
- src/
Events/ ImportEvent.php, line 45
Class
- ImportEvent
- Import event.
Namespace
Drupal\content_synchronizer\EventsCode
public function setEntity(Entity $entity) {
$this->entity = $entity;
}