
| Current Path : /var/www/html/store/web/modules/contrib/address/src/Event/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store/web/modules/contrib/address/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 altering initial values.
*
* @deprecated in address:8.x-1.5 and is removed from address:8.x-2.0. Use
* hook_field_widget_form_alter() to change the address #default_value.
*
* @Event
*
* @see https://www.drupal.org/project/address/issues/2838457
*/
const INITIAL_VALUES = 'address.widget.initial_values';
/**
* Name of the event fired when defining custom subdivisions.
*
* @Event
*
* @see \Drupal\address\Event\SubdivisionsEvent
*/
const SUBDIVISIONS = 'address.subdivisions';
}