function EntityTypeEvent::getEntityType

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityTypeEvent.php \Drupal\Core\Entity\EntityTypeEvent::getEntityType()
  2. 10 core/lib/Drupal/Core/Entity/EntityTypeEvent.php \Drupal\Core\Entity\EntityTypeEvent::getEntityType()
  3. 11.x core/lib/Drupal/Core/Entity/EntityTypeEvent.php \Drupal\Core\Entity\EntityTypeEvent::getEntityType()

The entity type the event refers to.

Return value

\Drupal\Core\Entity\EntityTypeInterface

File

core/lib/Drupal/Core/Entity/EntityTypeEvent.php, line 45

Class

EntityTypeEvent
Defines a base class for all entity type events.

Namespace

Drupal\Core\Entity

Code

public function getEntityType() {
    return $this->entityType;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.