public function PushNotification::isPushed in Push Notifications 8
Returns the push_notification pushed status indicator.
Return value
bool TRUE if the push_notification is pushed.
Overrides PushNotificationInterface::isPushed
File
- src/
Entity/ PushNotification.php, line 106 - Contains Drupal\push_notifications\Entity\PushNotification.
Class
- PushNotification
- Defines the push_notification entity.
Namespace
Drupal\push_notifications\EntityCode
public function isPushed() {
return (bool) $this
->getEntityKey('status');
}