You are here

public function EckEntityEventVariables::getEntity in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/preprocess_event_dispatcher/src/Variables/EckEntityEventVariables.php \Drupal\preprocess_event_dispatcher\Variables\EckEntityEventVariables::getEntity()

Get the Entity.

Return value

\Drupal\Core\Entity\EntityInterface Entity.

Overrides AbstractEntityEventVariables::getEntity

File

modules/preprocess_event_dispatcher/src/Variables/EckEntityEventVariables.php, line 26

Class

EckEntityEventVariables
Class EckEntityEventVariables.

Namespace

Drupal\preprocess_event_dispatcher\Variables

Code

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