You are here

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

Sets the event bundle.

Parameters

string $bundle: A bundle name.

Overrides EventTypeInterface::setEventBundle

File

src/Entity/EventType.php, line 150

Class

EventType
Defines the event type entity.

Namespace

Drupal\rng\Entity

Code

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