class RegistrationEvent in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 3.x src/Event/RegistrationEvent.php \Drupal\rng\Event\RegistrationEvent
Registration event.
Hierarchy
- class \Drupal\rng\Event\RegistrationEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of RegistrationEvent
See also
\Drupal\rng\Event\RegistrationEvents
2 files declare their use of RegistrationEvent
- RegistrationStorage.php in src/
RegistrationStorage.php - RegistrationWaitlistSubscriber.php in src/
EventSubscriber/ RegistrationWaitlistSubscriber.php
File
- src/
Event/ RegistrationEvent.php, line 13
Namespace
Drupal\rng\EventView source
class RegistrationEvent extends Event {
/**
* The registration.
*
* @var \Drupal\rng\Entity\RegistrationInterface
*/
protected $registration;
/**
* RegistrationEvent constructor.
*
* @param \Drupal\rng\Entity\RegistrationInterface $registration
* The registration.
*/
public function __construct(RegistrationInterface $registration) {
$this->registration = $registration;
}
/**
* Get the registration.
*
* @return \Drupal\rng\Entity\RegistrationInterface
* The registration.
*/
public function getRegistration() {
return $this->registration;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RegistrationEvent:: |
protected | property | The registration. | |
RegistrationEvent:: |
public | function | Get the registration. | |
RegistrationEvent:: |
public | function | RegistrationEvent constructor. |