public static function FormEntityDisplayEditAlterEventSubscriber::getSubscribedEvents in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/field_event_dispatcher/src/EventSubscriber/Form/FormEntityDisplayEditAlterEventSubscriber.php \Drupal\field_event_dispatcher\EventSubscriber\Form\FormEntityDisplayEditAlterEventSubscriber::getSubscribedEvents()
File
- modules/
field_event_dispatcher/ src/ EventSubscriber/ Form/ FormEntityDisplayEditAlterEventSubscriber.php, line 17
Class
- FormEntityDisplayEditAlterEventSubscriber
- Event subscriber for 'entity_(view/form)_display_edit_form' form alters.
Namespace
Drupal\field_event_dispatcher\EventSubscriber\FormCode
public static function getSubscribedEvents() : array {
return [
'hook_event_dispatcher.form_entity_view_display_edit_form.alter' => 'formAlter',
'hook_event_dispatcher.form_entity_form_display_edit_form.alter' => 'formAlter',
];
}