You are here

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

Sets the event entity type ID.

Parameters

string $entity_type: An entity type ID.

Overrides EventTypeInterface::setEventEntityTypeId

File

src/Entity/EventType.php, line 135

Class

EventType
Defines the event type entity.

Namespace

Drupal\rng\Entity

Code

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