Defines a common interface for entities that have an owner.
An owner is someone who has primary control over an entity, similar to owners in Unix file system access. This may or may not be the entity's original author. The owner may also have less permissions than other users, such as administrators.
Hierarchy
- interface \Drupal\user\EntityOwnerInterface
File
- core/modules/user/src/EntityOwnerInterface.php, line 13
Namespace
Drupal\user
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityOwnerInterface::getOwner | public | function | Returns the entity owner's user entity. |
EntityOwnerInterface::getOwnerId | public | function | Returns the entity owner's user ID. |
EntityOwnerInterface::setOwner | public | function | Sets the entity owner's user entity. |
EntityOwnerInterface::setOwnerId | public | function | Sets the entity owner's user ID. |
Please login to continue.