public function EventManagerInterface::isEvent in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/EventManagerInterface.php \Drupal\rng\EventManagerInterface::isEvent()
- 3.x src/EventManagerInterface.php \Drupal\rng\EventManagerInterface::isEvent()
Determines if an entity is an event.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: An event entity.
Return value
bool Whether the entity is an event.
1 method overrides EventManagerInterface::isEvent()
- EventManager::isEvent in src/
EventManager.php - Determines if an entity is an event.
File
- src/
EventManagerInterface.php, line 98
Class
- EventManagerInterface
- Event manager for RNG.
Namespace
Drupal\rngCode
public function isEvent(EntityInterface $entity);