public function ReplicateEntityFieldEvent::__construct in Replicate 8
Creates a new ReplicateEntityFieldEvent instance.
Parameters
\Drupal\Core\Field\FieldItemListInterface $field_item_list: The field item list.
\Drupal\Core\Entity\EntityInterface $entity: The entity.
Overrides ReplicateEventBase::__construct
File
- src/
Events/ ReplicateEntityFieldEvent.php, line 25
Class
Namespace
Drupal\replicate\EventsCode
public function __construct(FieldItemListInterface $field_item_list, EntityInterface $entity) {
parent::__construct($entity);
$this->fieldItemList = $field_item_list;
}