function EventManager::invalidateEventType in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/EventManager.php \Drupal\rng\EventManager::invalidateEventType()
- 3.x src/EventManager.php \Drupal\rng\EventManager::invalidateEventType()
Invalidate cache for an event type.
Parameters
\Drupal\rng\EventTypeInterface $event_type: An event type.
Overrides EventManagerInterface::invalidateEventType
1 call to EventManager::invalidateEventType()
- EventManager::invalidateEventTypes in src/
EventManager.php - Invalidate cache for events types.
File
- src/
EventManager.php, line 127
Class
- EventManager
- Event manager for RNG.
Namespace
Drupal\rngCode
function invalidateEventType(EventTypeInterface $event_type) {
Cache::invalidateTags($event_type
->getCacheTags());
}