You are here

public function PushNotification::getTitle in Push Notifications 8

Returns the entity push notification title.

Return value

string The title.

Overrides PushNotificationInterface::getTitle

File

src/Entity/PushNotification.php, line 92
Contains Drupal\push_notifications\Entity\PushNotification.

Class

PushNotification
Defines the push_notification entity.

Namespace

Drupal\push_notifications\Entity

Code

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