public static function AddressTestEventSubscriber::getSubscribedEvents in Address 8
File
- tests/
modules/ address_test/ src/ EventSubscriber/ AddressTestEventSubscriber.php, line 19
Class
- AddressTestEventSubscriber
- Subscribes to Address events for testing.
Namespace
Drupal\address_test\EventSubscriberCode
public static function getSubscribedEvents() {
$events[AddressEvents::AVAILABLE_COUNTRIES][] = [
'onAvailableCountries',
];
return $events;
}