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