final class RegistrationEvents in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/Event/RegistrationEvents.php \Drupal\rng\Event\RegistrationEvents
Defines events for registrations.
Hierarchy
- class \Drupal\rng\Event\RegistrationEvents
Expanded class hierarchy of RegistrationEvents
See also
\Drupal\rng\Event\RegistrationAccessEvent
2 files declare their use of RegistrationEvents
- RegistrationAccessControlHandler.php in src/
AccessControl/ RegistrationAccessControlHandler.php - RegistrationWaitListSubscriber.php in src/
EventSubscriber/ RegistrationWaitListSubscriber.php
File
- src/
Event/ RegistrationEvents.php, line 10
Namespace
Drupal\rng\EventView source
final class RegistrationEvents {
/**
* Name of the event when getting the access for creating a registration.
*
* This event allows modules to influence access during the registration
* process.
*
* @Event
*
* @see \Drupal\rng\Event\RegistrationAccessEvent
* @see \Drupal\rng\AccessControl\RegistrationAccessControlHandler::createAccess()
*
* @var string
*/
const REGISTRATION_CREATE_ACCESS = 'rng.registration_create';
/**
* Name of the event fired after loading a registration.
*
* @Event
*
* @see \Drupal\rng\Event\RegistrationEvent
*/
const REGISTRATION_LOAD = 'rng.registration.load';
/**
* Name of the event fired after creating a new registration.
*
* Fired before the registration is saved.
*
* @Event
*
* @see \Drupal\rng\Event\RegistrationEvent
*/
const REGISTRATION_CREATE = 'rng.registration.create';
/**
* Name of the event fired before saving an registration.
*
* @Event
*
* @see \Drupal\rng\Event\RegistrationEvent
*/
const REGISTRATION_PRESAVE = 'rng.registration.presave';
/**
* Name of the event fired after saving a new registration.
*
* @Event
*
* @see \Drupal\rng\Event\RegistrationEvent
*/
const REGISTRATION_INSERT = 'rng.registration.insert';
/**
* Name of the event fired after saving an existing registration.
*
* @Event
*
* @see \Drupal\rng\Event\RegistrationEvent
*/
const REGISTRATION_UPDATE = 'rng.registration.registration';
/**
* Name of the event fired before deleting an registration.
*
* @Event
*
* @see \Drupal\rng\Event\RegistrationEvent
*/
const REGISTRATION_PREDELETE = 'rng.registration.predelete';
/**
* Name of the event fired after deleting an registration.
*
* @Event
*
* @see \Drupal\rng\Event\RegistrationEvent
*/
const REGISTRATION_DELETE = 'rng.registration.delete';
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RegistrationEvents:: |
constant | Name of the event fired after creating a new registration. | ||
RegistrationEvents:: |
constant | Name of the event when getting the access for creating a registration. | ||
RegistrationEvents:: |
constant | Name of the event fired after deleting an registration. | ||
RegistrationEvents:: |
constant | Name of the event fired after saving a new registration. | ||
RegistrationEvents:: |
constant | Name of the event fired after loading a registration. | ||
RegistrationEvents:: |
constant | Name of the event fired before deleting an registration. | ||
RegistrationEvents:: |
constant | Name of the event fired before saving an registration. | ||
RegistrationEvents:: |
constant | Name of the event fired after saving an existing registration. |