public static function ExampleEntityExtraFieldInfoSubscribers::getSubscribedEvents in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 examples/ExampleEntityExtraFieldInfoSubscribers.php \Drupal\hook_event_dispatcher\ExampleEntityExtraFieldInfoSubscribers::getSubscribedEvents()
File
- examples/
ExampleEntityExtraFieldInfoSubscribers.php, line 61
Class
- ExampleEntityExtraFieldInfoSubscribers
- Class ExampleEntityExtraFieldInfoSubscribers.
Namespace
Drupal\hook_event_dispatcherCode
public static function getSubscribedEvents() : array {
return [
HookEventDispatcherInterface::ENTITY_EXTRA_FIELD_INFO => 'fieldInfo',
HookEventDispatcherInterface::ENTITY_EXTRA_FIELD_INFO_ALTER => 'fieldInfoAlter',
];
}