public function EventManagerInterface::getMeta in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/EventManagerInterface.php \Drupal\rng\EventManagerInterface::getMeta()
- 3.x src/EventManagerInterface.php \Drupal\rng\EventManagerInterface::getMeta()
Get the meta instance for an event.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: An event entity.
Return value
\Drupal\rng\EventMetaInterface|NULL An event meta object.
Throws
\Drupal\rng\Exception\InvalidEventException If the $entity is not an event.
1 method overrides EventManagerInterface::getMeta()
- EventManager::getMeta in src/
EventManager.php - Get the meta instance for an event.
File
- src/
EventManagerInterface.php, line 84
Class
- EventManagerInterface
- Event manager for RNG.
Namespace
Drupal\rngCode
public function getMeta(EntityInterface $entity);