You are here

public function Order::setOwnerId in Ubercart 8.4

Sets the entity owner's user ID.

Parameters

int $uid: The owner user id.

Return value

$this

Overrides EntityOwnerInterface::setOwnerId

File

uc_order/src/Entity/Order.php, line 317

Class

Order
Defines the order entity class.

Namespace

Drupal\uc_order\Entity

Code

public function setOwnerId($uid) {
  $this
    ->set('uid', $uid);
  return $this;
}