protected function RngRegistrationCreationSubscriber::getMeta in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/EventSubscriber/RngRegistrationCreationSubscriber.php \Drupal\rng\EventSubscriber\RngRegistrationCreationSubscriber::getMeta()
Get the event meta.
Parameters
array $context:
Return value
\Drupal\rng\EventMetaInterface|null The event meta or NULL.
Throws
\Drupal\rng\Exception\InvalidEventException
5 calls to RngRegistrationCreationSubscriber::getMeta()
- RngRegistrationCreationSubscriber::acceptingRegistration in src/
EventSubscriber/ RngRegistrationCreationSubscriber.php - Determines if there is any remaining capacity.
- RngRegistrationCreationSubscriber::canRegisterProxies in src/
EventSubscriber/ RngRegistrationCreationSubscriber.php - Determines if user can register proxies.
- RngRegistrationCreationSubscriber::invalidEntityBundle in src/
EventSubscriber/ RngRegistrationCreationSubscriber.php - Determines if there is an invalid entity bundle.
- RngRegistrationCreationSubscriber::missingRegistrationType in src/
EventSubscriber/ RngRegistrationCreationSubscriber.php - Determines if there are no registration types configured.
- RngRegistrationCreationSubscriber::remainingCapacity in src/
EventSubscriber/ RngRegistrationCreationSubscriber.php - Determines if there is any remaining capacity.
File
- src/
EventSubscriber/ RngRegistrationCreationSubscriber.php, line 119
Class
- RngRegistrationCreationSubscriber
- Class RngRegistrationCreationSubscriber.
Namespace
Drupal\rng\EventSubscriberCode
protected function getMeta(array $context) {
return $this->rngEventManager
->getMeta($context['event']);
}