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\EntityCode
public function getName() {
return $this
->get('name')->value;
}