public function EventMeta::getRegistrationTypes in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/EventMeta.php \Drupal\rng\EventMeta::getRegistrationTypes()
- 3.x 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 184
Class
- EventMeta
- Meta event wrapper for RNG.
Namespace
Drupal\rngCode
public function getRegistrationTypes() {
return $this->entityManager
->getStorage('registration_type')
->loadMultiple($this
->getRegistrationTypeIds());
}