function EventManagerInterface::eventTypeWithEntityType in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/EventManagerInterface.php \Drupal\rng\EventManagerInterface::eventTypeWithEntityType()
- 3.x src/EventManagerInterface.php \Drupal\rng\EventManagerInterface::eventTypeWithEntityType()
Gets all event types associated with an entity type.
Parameters
string $entity_type: An entity type ID.
Return value
\Drupal\rng\EventTypeInterface[] An array of event type config entities
1 method overrides EventManagerInterface::eventTypeWithEntityType()
- EventManager::eventTypeWithEntityType in src/
EventManager.php - Gets all event types associated with an entity type.
File
- src/
EventManagerInterface.php, line 120
Class
- EventManagerInterface
- Event manager for RNG.
Namespace
Drupal\rngCode
function eventTypeWithEntityType($entity_type);