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