You are here

public function EckEntityEventVariables::getEntityBundle in Hook Event Dispatcher 3.x

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

Get the Entity bundle.

Return value

string Entity bundle.

Overrides AbstractEntityEventVariables::getEntityBundle

File

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

Class

EckEntityEventVariables
Class EckEntityEventVariables.

Namespace

Drupal\preprocess_event_dispatcher\Variables

Code

public function getEntityBundle() : string {
  return $this->variables['bundle'];
}