public function Reference::getOwner in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/Entity/Reference.php \Drupal\bibcite_entity\Entity\Reference::getOwner()
Returns the entity owner's user entity.
Return value
\Drupal\user\UserInterface The owner user entity.
Overrides EntityOwnerInterface::getOwner
File
- modules/
bibcite_entity/ src/ Entity/ Reference.php, line 139
Class
- Reference
- Defines the Reference entity.
Namespace
Drupal\bibcite_entity\EntityCode
public function getOwner() {
return $this
->get('uid')->entity;
}