public ContentModerationState::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
- core/modules/content_moderation/src/Entity/ContentModerationState.php, line 102
Class
- ContentModerationState
- Defines the Content moderation state entity.
Namespace
Drupal\content_moderation\Entity
Code
public function getOwnerId() { return $this->getEntityKey('uid'); }
Please login to continue.