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