W3cubDocs

/Drupal 8

public function EntityTypeEvent::getEntityType

public 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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityTypeEvent.php/function/EntityTypeEvent::getEntityType/8.1.x