public function EntityBaseFieldInfoAlterEvent::__construct in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/core_event_dispatcher/src/Event/Entity/EntityBaseFieldInfoAlterEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityBaseFieldInfoAlterEvent::__construct()
EntityExtraFieldInfoAlterEvent constructor.
Parameters
array $fields: Extra field info.
\Drupal\Core\Entity\EntityTypeInterface $entityType: The entity type.
File
- modules/
core_event_dispatcher/ src/ Event/ Entity/ EntityBaseFieldInfoAlterEvent.php, line 36
Class
- EntityBaseFieldInfoAlterEvent
- Class EntityBaseFieldInfoAlterEvent.
Namespace
Drupal\core_event_dispatcher\Event\EntityCode
public function __construct(array &$fields, EntityTypeInterface $entityType) {
$this->entityType = $entityType;
$this->fields =& $fields;
}