public function ReplicationContentDataAlterEvent::__construct in Replication 8
Same name and namespace in other branches
- 8.2 src/Event/ReplicationContentDataAlterEvent.php \Drupal\replication\Event\ReplicationContentDataAlterEvent::__construct()
ReplicationContentDataAlterEvent constructor.
Parameters
ContentEntityInterface $entity:
array $data:
$format:
array $context:
File
- src/
Event/ ReplicationContentDataAlterEvent.php, line 46
Class
- ReplicationContentDataAlterEvent
- Event instance for altering normalized content entity data.
Namespace
Drupal\replication\EventCode
public function __construct(ContentEntityInterface $entity, array $data, $format, array $context) {
$this->entity = $entity;
$this->data = $data;
$this->format = $format;
$this->context = $context;
}