You are here

public function Webform::getOwnerId in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Entity/Webform.php \Drupal\webform\Entity\Webform::getOwnerId()

Returns the entity owner's user ID.

Return value

int|null The owner user ID, or NULL in case the user ID field has not been set on the entity.

Overrides EntityOwnerInterface::getOwnerId

File

src/Entity/Webform.php, line 537

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function getOwnerId() {
  return $this->uid;
}