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