You are here

public function EventManagerInterface::isEvent in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 8 src/EventManagerInterface.php \Drupal\rng\EventManagerInterface::isEvent()
  2. 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\rng

Code

public function isEvent(EntityInterface $entity);