public function EventManagerInterface::eventTypeWithEntityType in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/EventManagerInterface.php \Drupal\rng\EventManagerInterface::eventTypeWithEntityType()
- 8 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\Entity\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 123
Class
- EventManagerInterface
- Event manager for RNG.
Namespace
Drupal\rngCode
public function eventTypeWithEntityType($entity_type);