You are here

function EventType::getEventBundle in RNG - Events and Registrations 8

Get event bundle.

Return value

string A bundle name.

Overrides EventTypeInterface::getEventBundle

4 calls to EventType::getEventBundle()
EventType::calculateDependencies in src/Entity/EventType.php
Calculates dependencies and stores them in the dependency property.
EventType::delete in src/Entity/EventType.php
Deletes an entity permanently.
EventType::id in src/Entity/EventType.php
Gets the identifier.
EventType::postSave in src/Entity/EventType.php
Acts on a saved entity before the insert or update hook is invoked.

File

src/Entity/EventType.php, line 143

Class

EventType
Defines the event type entity.

Namespace

Drupal\rng\Entity

Code

function getEventBundle() {
  return $this->bundle;
}