public function BrightcoveTextTrack::getOwnerId in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::getOwnerId()
- 3.x src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::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/ BrightcoveTextTrack.php, line 242
Class
- BrightcoveTextTrack
- Defines the Brightcove Text Track entity.
Namespace
Drupal\brightcove\EntityCode
public function getOwnerId() {
return $this
->get('uid')->target_id;
}