public function PushNotification::getTokenId in Push Notifications 8
Returns the entity push notification token id for this push notification.
Return value
integer The token id related for this entity.
Overrides PushNotificationInterface::getTokenId
File
- src/
Entity/ PushNotification.php, line 142 - Contains Drupal\push_notifications\Entity\PushNotification.
Class
- PushNotification
- Defines the push_notification entity.
Namespace
Drupal\push_notifications\EntityCode
public function getTokenId() {
return $this
->get('tid')->target_id;
}