public function SplashifyEntity::getOwner in Splashify 8.2
Returns the entity owner's user entity.
Return value
\Drupal\user\UserInterface The owner user entity.
Overrides EntityOwnerInterface::getOwner
File
- src/
Entity/ SplashifyEntity.php, line 102
Class
- SplashifyEntity
- Defines the Splashify entity entity.
Namespace
Drupal\splashify\EntityCode
public function getOwner() {
return $this
->get('user_id')->entity;
}