public function RngEventType::setEventBundle in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 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\EntityCode
public function setEventBundle($bundle) {
$this->bundle = $bundle;
return $this;
}