function EntityTypeEvent::getOriginal

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityTypeEvent.php \Drupal\Core\Entity\EntityTypeEvent::getOriginal()
  2. 10 core/lib/Drupal/Core/Entity/EntityTypeEvent.php \Drupal\Core\Entity\EntityTypeEvent::getOriginal()
  3. 11.x core/lib/Drupal/Core/Entity/EntityTypeEvent.php \Drupal\Core\Entity\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;
}

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