You are here

public function RngEventType::setEventEntityTypeId in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 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;
}