EntityExtraFieldInfoAlterEvent.php in Hook Event Dispatcher 8.2
File
modules/core_event_dispatcher/src/Event/Entity/EntityExtraFieldInfoAlterEvent.php
View source
<?php
namespace Drupal\core_event_dispatcher\Event\Entity;
use Drupal\hook_event_dispatcher\Event\EventInterface;
use Drupal\hook_event_dispatcher\HookEventDispatcherInterface;
use Symfony\Component\EventDispatcher\Event;
class EntityExtraFieldInfoAlterEvent extends Event implements EventInterface {
private $fieldInfo;
public function __construct(array &$fieldInfo) {
$this->fieldInfo =& $fieldInfo;
}
public function getDispatcherType() : string {
return HookEventDispatcherInterface::ENTITY_EXTRA_FIELD_INFO_ALTER;
}
public function &getFieldInfo() : array {
return $this->fieldInfo;
}
}