You are here

public function LibraryItem::setOwner in Library 8

Sets the entity owner's user entity.

Parameters

\Drupal\user\UserInterface $account: The owner user entity.

Return value

$this

Overrides EntityOwnerInterface::setOwner

File

src/Entity/LibraryItem.php, line 66

Class

LibraryItem
Defines the Library item entity.

Namespace

Drupal\library\Entity

Code

public function setOwner(UserInterface $account) {

  // Intentionally left blank.
}