public function Webform::getOwnerId in Webform 8.5
Same name and namespace in other branches
- 6.x 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\EntityCode
public function getOwnerId() {
return $this->uid;
}