address-8.x-1.x-dev/src/Event/AddressEvents.php
src/Event/AddressEvents.php
<?php
namespace Drupal\address\Event;
/**
* Defines events for the address module.
*/
final class AddressEvents {
/**
* Name of the event fired when altering an address format.
*
* @Event
*
* @see \Drupal\address\Event\AddressFormatEvent
*/
const ADDRESS_FORMAT = 'address.address_format';
/**
* Name of the event fired when altering the list of available countries.
*
* @Event
*
* @see \Drupal\address\Event\AvailableCountriesEvent
*/
const AVAILABLE_COUNTRIES = 'address.available_countries';
/**
* Name of the event fired when defining custom subdivisions.
*
* @Event
*
* @see \Drupal\address\Event\SubdivisionsEvent
*/
const SUBDIVISIONS = 'address.subdivisions';
}
