public function EntityBaseFieldInfoAlterEvent::__construct in Hook Event Dispatcher 8
EntityExtraFieldInfoAlterEvent constructor.
Parameters
array $fields: Extra field info.
\Drupal\Core\Entity\EntityTypeInterface $entityType: The entity type.
File
- src/
Event/ EntityType/ EntityBaseFieldInfoAlterEvent.php, line 37
Class
- EntityBaseFieldInfoAlterEvent
- Class EntityBaseFieldInfoAlterEvent.
Namespace
Drupal\hook_event_dispatcher\Event\EntityTypeCode
public function __construct(array &$fields, EntityTypeInterface $entityType) {
$this->entityType = $entityType;
$this->fields =& $fields;
}