W3cubDocs

/Drupal 8

public function EntityTypeEvent::getOriginal

public EntityTypeEvent::getOriginal()

The original entity type.

Return value

\Drupal\Core\Entity\EntityTypeInterface

File

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

Class

EntityTypeEvent
Defines a base class for all entity type events.

Namespace

Drupal\Core\Entity

Code

public function getOriginal() {
  return $this->original;
}

© 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::getOriginal/8.1.x