You are here

public function EckEntityEventVariables::getEckEntity 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::getEckEntity()

Get the EckEntity.

Return value

\Drupal\eck\EckEntityInterface EckEntity.

1 call to EckEntityEventVariables::getEckEntity()
EckEntityEventVariables::getEntity in modules/preprocess_event_dispatcher/src/Variables/EckEntityEventVariables.php
Get the Entity.

File

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

Class

EckEntityEventVariables
Class EckEntityEventVariables.

Namespace

Drupal\preprocess_event_dispatcher\Variables

Code

public function getEckEntity() : EckEntityInterface {
  return $this->variables['eck_entity'];
}