class ReplicateEntityFieldEvent in Replicate 8
Hierarchy
- class \Drupal\replicate\Events\ReplicateEventBase extends \Symfony\Component\EventDispatcher\Event
- class \Drupal\replicate\Events\ReplicateEntityFieldEvent
Expanded class hierarchy of ReplicateEntityFieldEvent
3 files declare their use of ReplicateEntityFieldEvent
- ReplicatePathFieldSubscriber.php in src/
EventSubscriber/ ReplicatePathFieldSubscriber.php - Replicator.php in src/
Replicator.php - ReplicatorTest.php in tests/
src/ Unit/ ReplicatorTest.php
File
- src/
Events/ ReplicateEntityFieldEvent.php, line 8
Namespace
Drupal\replicate\EventsView source
class ReplicateEntityFieldEvent extends ReplicateEventBase {
/**
* The field item list.
*
* @var \Drupal\Core\Field\FieldItemListInterface
*/
protected $fieldItemList;
/**
* Creates a new ReplicateEntityFieldEvent instance.
*
* @param \Drupal\Core\Field\FieldItemListInterface $field_item_list
* The field item list.
* @param \Drupal\Core\Entity\EntityInterface $entity
* The entity.
*/
public function __construct(FieldItemListInterface $field_item_list, EntityInterface $entity) {
parent::__construct($entity);
$this->fieldItemList = $field_item_list;
}
/**
* @return FieldItemListInterface
*/
public function getFieldItemList() {
return $this->fieldItemList;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ReplicateEntityFieldEvent:: |
protected | property | The field item list. | |
ReplicateEntityFieldEvent:: |
public | function | ||
ReplicateEntityFieldEvent:: |
public | function |
Creates a new ReplicateEntityFieldEvent instance. Overrides ReplicateEventBase:: |
|
ReplicateEventBase:: |
protected | property | ||
ReplicateEventBase:: |
public | function |