You are here

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

Sets the event entity type ID.

Parameters

string $entity_type: An entity type ID.

Overrides EventTypeInterface::setEventEntityTypeId

File

src/Entity/RngEventType.php, line 175

Class

RngEventType
Defines the event type entity.

Namespace

Drupal\rng\Entity

Code

public function setEventEntityTypeId($entity_type) {
  $this->entity_type = $entity_type;
  return $this;
}