public function RoleWatchdog::setOwnerId in Role Watchdog 8
Sets the entity owner's user ID.
Parameters
int $uid: The owner user id.
Return value
$this
Overrides EntityOwnerInterface::setOwnerId
File
- src/
Entity/ RoleWatchdog.php, line 123
Class
- RoleWatchdog
- Defines the Role Watchdog entity.
Namespace
Drupal\role_watchdog\EntityCode
public function setOwnerId($uid) {
$this
->set('uid', $uid);
return $this;
}