public function RelationshipFieldValueEvent::__construct in Entity Share 8.3
Same name and namespace in other branches
- 8 modules/entity_share_client/src/Event/RelationshipFieldValueEvent.php \Drupal\entity_share_client\Event\RelationshipFieldValueEvent::__construct()
- 8.2 modules/entity_share_client/src/Event/RelationshipFieldValueEvent.php \Drupal\entity_share_client\Event\RelationshipFieldValueEvent::__construct()
Constructs a new RelationshipFieldValueEvent.
Parameters
\Drupal\Core\Field\FieldItemListInterface $field: A FieldItemList object.
array $field_value: An array of the field value to alter.
File
- modules/
entity_share_client/ src/ Event/ RelationshipFieldValueEvent.php, line 39
Class
- RelationshipFieldValueEvent
- Defines a RelationshipFieldValueEvent event.
Namespace
Drupal\entity_share_client\EventCode
public function __construct(FieldItemListInterface $field, array $field_value) {
$this->field = $field;
$this->fieldValue = $field_value;
}