You are here

public function MandrillActivity::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_activity/src/Entity/MandrillActivity.php, line 95
Contains \Drupal\mandrill_activity\Entity\MandrillActivity.

Class

MandrillActivity
Defines the MandrillActivity entity.

Namespace

Drupal\mandrill_activity\Entity

Code

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