You are here

public function RngEventType::setEventBundle 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::setEventBundle()

Sets the event bundle.

Parameters

string $bundle: A bundle name.

Overrides EventTypeInterface::setEventBundle

File

src/Entity/RngEventType.php, line 190

Class

RngEventType
Defines the event type entity.

Namespace

Drupal\rng\Entity

Code

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