function EventType::getDefaultRegistrantType in RNG - Events and Registrations 8
Registrant type for new registrants associated with this event type.
Return value
string|NULL The Registrant type used for new registrants associated with this event type.
Overrides EventTypeInterface::getDefaultRegistrantType
2 calls to EventType::getDefaultRegistrantType()
- EventType::calculateDependencies in src/
Entity/ EventType.php - Calculates dependencies and stores them in the dependency property.
- EventType::onDependencyRemoval in src/
Entity/ EventType.php - Informs the entity that entities it depends on will be deleted.
File
- src/
Entity/ EventType.php, line 188
Class
- EventType
- Defines the event type entity.
Namespace
Drupal\rng\EntityCode
function getDefaultRegistrantType() {
return $this->default_registrant;
}