public EntityOwnerInterface::getOwner()
Returns the entity owner's user entity.
Return value
\Drupal\user\UserInterface The owner user entity.
File
- core/modules/user/src/EntityOwnerInterface.php, line 21
Class
- EntityOwnerInterface
- Defines a common interface for entities that have an owner.
Namespace
Drupal\user
Code
public function getOwner();
Please login to continue.