You are here

public function EckEntityEventVariables::getEntity in Hook Event Dispatcher 8

Get the Entity.

Return value

\Drupal\Core\Entity\EntityInterface Entity.

Overrides AbstractEntityEventVariables::getEntity

File

src/Event/Preprocess/Variables/EckEntityEventVariables.php, line 23

Class

EckEntityEventVariables
Class EckEntityEventVariables.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Variables

Code

public function getEntity() {
  return $this
    ->getEckEntity();
}