You are here

public function EasyEmailInterface::setCreator in Easy Email 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/EasyEmailInterface.php \Drupal\easy_email\Entity\EasyEmailInterface::setCreator()

Sets the entity creator's user entity.

Parameters

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

Return value

$this

1 method overrides EasyEmailInterface::setCreator()
EasyEmail::setCreator in src/Entity/EasyEmail.php
Sets the entity creator's user entity.

File

src/Entity/EasyEmailInterface.php, line 34

Class

EasyEmailInterface
Provides an interface for defining Email entities.

Namespace

Drupal\easy_email\Entity

Code

public function setCreator(UserInterface $account);