You are here

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

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

Code

public function eventTypeWithEntityType($entity_type);