You are here

public function EasyEmailType::setKey in Easy Email 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/EasyEmailType.php \Drupal\easy_email\Entity\EasyEmailType::setKey()

Parameters

string $key:

Return value

EasyEmailType

Overrides EasyEmailTypeInterface::setKey

File

src/Entity/EasyEmailType.php, line 243

Class

EasyEmailType
Defines the Email template entity.

Namespace

Drupal\easy_email\Entity

Code

public function setKey($key) {
  $this->key = $key;
  return $this;
}