You are here

public function MailchimpEvent::getName in Mailchimp 2.x

Gets the Mailchimp Event name.

Return value

string Name of the Mailchimp Event.

Overrides MailchimpEventInterface::getName

File

modules/mailchimp_events/src/Entity/MailchimpEvent.php, line 64

Class

MailchimpEvent
Defines the Mailchimp event entity.

Namespace

Drupal\mailchimp_events\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}