You are here

public function MailchimpSignup::label in Mailchimp 8

Same name and namespace in other branches
  1. 2.x modules/mailchimp_signup/src/Entity/MailchimpSignup.php \Drupal\mailchimp_signup\Entity\MailchimpSignup::label()

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/mailchimp_signup/src/Entity/MailchimpSignup.php, line 105

Class

MailchimpSignup
Defines the MailchimpSignup entity.

Namespace

Drupal\mailchimp_signup\Entity

Code

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