public function RngEventType::getDefaultRegistrantType in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/Entity/RngEventType.php \Drupal\rng\Entity\RngEventType::getDefaultRegistrantType()
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 RngEventType::getDefaultRegistrantType()
- RngEventType::calculateDependencies in src/
Entity/ RngEventType.php - Calculates dependencies and stores them in the dependency property.
- RngEventType::onDependencyRemoval in src/
Entity/ RngEventType.php - Informs the entity that entities it depends on will be deleted.
File
- src/
Entity/ RngEventType.php, line 228
Class
- RngEventType
- Defines the event type entity.
Namespace
Drupal\rng\EntityCode
public function getDefaultRegistrantType() {
return $this->default_registrant;
}