public function EckEntityEventVariables::getEckEntity in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 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\VariablesCode
public function getEckEntity() : EckEntityInterface {
return $this->variables['eck_entity'];
}