public function TypeGroup::setOwnerId in Booking and Availability Management Tools for Drupal 8
Sets the entity owner's user ID.
Parameters
int $uid: The owner user id.
Return value
$this
Overrides EntityOwnerInterface::setOwnerId
File
- src/
Entity/ TypeGroup.php, line 104 - Contains \Drupal\bat\Entity\TypeGroup.
Class
- TypeGroup
- Defines the Type Group entity.
Namespace
Drupal\bat\EntityCode
public function setOwnerId($uid) {
$this
->set('uid', $uid);
return $this;
}