public function EventMeta::getRegistrationTypes in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/EventMeta.php \Drupal\rng\EventMeta::getRegistrationTypes()
- 8 src/EventMeta.php \Drupal\rng\EventMeta::getRegistrationTypes()
Gets a list of registration types allowed for this event.
Return value
\Drupal\rng\Entity\RegistrationTypeInterface[] An array of registration_type entities.
Overrides EventMetaInterface::getRegistrationTypes
File
- src/
EventMeta.php, line 194
Class
- EventMeta
- Meta event wrapper for RNG.
Namespace
Drupal\rngCode
public function getRegistrationTypes() {
return $this->entityManager
->getStorage('registration_type')
->loadMultiple($this
->getRegistrationTypeIds());
}