You are here

public function RngEventType::getEventBundle in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 3.x src/Entity/RngEventType.php \Drupal\rng\Entity\RngEventType::getEventBundle()

Get event bundle.

Return value

string A bundle name.

Overrides EventTypeInterface::getEventBundle

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

File

src/Entity/RngEventType.php, line 183

Class

RngEventType
Defines the event type entity.

Namespace

Drupal\rng\Entity

Code

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