You are here

public function Subscription::getTitle in Mailing List 8

Gets the subscription title.

Return value

string Title of the subscription.

Overrides SubscriptionInterface::getTitle

File

src/Entity/Subscription.php, line 94

Class

Subscription
Defines the subscription entity class.

Namespace

Drupal\mailing_list\Entity

Code

public function getTitle() {
  return $this
    ->get('title')->value;
}