You are here

public function EntityBundleFieldInfoAlterEvent::getBundle in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/core_event_dispatcher/src/Event/Entity/EntityBundleFieldInfoAlterEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityBundleFieldInfoAlterEvent::getBundle()

Gets the Bundle.

Return value

string The Bundle.

File

modules/core_event_dispatcher/src/Event/Entity/EntityBundleFieldInfoAlterEvent.php, line 83

Class

EntityBundleFieldInfoAlterEvent
Class EntityBundleFieldInfoAlterEvent.

Namespace

Drupal\core_event_dispatcher\Event\Entity

Code

public function getBundle() : string {
  return $this->bundle;
}