public function UnserializeCdfEntityFieldEvent::__construct in Acquia Content Hub 8.2
UnserializeCdfEntityFieldEvent constructor.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type id.
string $bundle: The entity bundle.
string $field_name: The field name.
array $field: The field array.
array $metadata: The metadata array.
\Drupal\depcalc\DependencyStack $stack: The dependency stack.
File
- src/
Event/ UnserializeCdfEntityFieldEvent.php, line 84
Class
- UnserializeCdfEntityFieldEvent
- Unserializes ContentEntity fields syndicated from CDF.
Namespace
Drupal\acquia_contenthub\EventCode
public function __construct(EntityTypeInterface $entity_type, $bundle, $field_name, array $field, array $metadata, DependencyStack $stack) {
$this->entityType = $entity_type;
$this->bundle = $bundle;
$this->fieldName = $field_name;
$this->field = $field;
$this->metadata = $metadata;
$this->stack = $stack;
}