public function LocalTask::setOwnerId in Translation Management Tool 8
Sets the entity owner's user ID.
Parameters
int $uid: The owner user id.
Return value
$this
Overrides EntityOwnerInterface::setOwnerId
File
- translators/
tmgmt_local/ src/ Entity/ LocalTask.php, line 143
Class
- LocalTask
- Entity class for the local task entity.
Namespace
Drupal\tmgmt_local\EntityCode
public function setOwnerId($uid) {
$this
->set('uid', $uid);
return $this;
}