You are here

public function EckEntityEventVariables::getEntityBundle in Hook Event Dispatcher 8

Get the Entity bundle.

Return value

string Entity bundle.

Overrides AbstractEntityEventVariables::getEntityBundle

File

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

Class

EckEntityEventVariables
Class EckEntityEventVariables.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Variables

Code

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