You are here

public function EckEntityEventVariables::getEckEntity in Hook Event Dispatcher 8

Get the EckEntity.

Return value

\Drupal\eck\Entity\EckEntity EckEntity.

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

File

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

Class

EckEntityEventVariables
Class EckEntityEventVariables.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Variables

Code

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