public function Event::setUnitId in Booking and Availability Management Tools for Drupal 8
Overrides EventInterface::setUnitId
File
- modules/
bat_event/ src/ Entity/ Event.php, line 135 - Contains \Drupal\bat_event\Entity\Event.
Class
- Event
- Defines the Event entity.
Namespace
Drupal\bat_event\EntityCode
public function setUnitId($unit_id) {
$this
->set('unit_id', $unit_id);
return $this;
}