You are here

public function KeyFormBase::getOriginalKey in Key 8

Returns the original key entity.

Return value

\Drupal\key\Entity\Key The original key entity.

File

src/Form/KeyFormBase.php, line 479

Class

KeyFormBase
Base form for key add and edit forms.

Namespace

Drupal\key\Form

Code

public function getOriginalKey() {
  return $this->originalKey;
}