You are here

public function MandrillTemplateMap::label in Mandrill 8

Gets the label of the entity.

Return value

string|null The label of the entity, or NULL if there is no label defined.

Overrides EntityBase::label

File

modules/mandrill_template/src/Entity/MandrillTemplateMap.php, line 88
Contains \Drupal\mandrill_template\Entity\MandrillTemplateMap.

Class

MandrillTemplateMap
Defines the MandrillTemplateMap entity.

Namespace

Drupal\mandrill_template\Entity

Code

public function label() {
  return $this->label;
}