EntityOwnerInterface

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

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.
doc_Drupal
2016-10-29 09:07:18
Comments
Leave a Comment

Please login to continue.