public static function ExampleEntityExtraFieldInfoSubscribers::getSubscribedEvents in Hook Event Dispatcher 8
File
- src/
Example/ ExampleEntityExtraFieldInfoSubscribers.php, line 62
Class
- ExampleEntityExtraFieldInfoSubscribers
- Class ExampleEntityExtraFieldInfoSubscribers.
Namespace
Drupal\hook_event_dispatcher\ExampleCode
public static function getSubscribedEvents() {
return [
HookEventDispatcherInterface::ENTITY_EXTRA_FIELD_INFO => 'fieldInfo',
HookEventDispatcherInterface::ENTITY_EXTRA_FIELD_INFO_ALTER => 'fieldInfoAlter',
];
}