public function PushNotificationsToken::getNetwork in Push Notifications 8
Returns the entity network.
Return value
string The network for this entity.
Overrides PushNotificationsTokenInterface::getNetwork
File
- src/
Entity/ PushNotificationsToken.php, line 92 - Contains \Drupal\push_notifications\Entity\PushNotificationsToken.
Class
- PushNotificationsToken
- Defines the token entity.
Namespace
Drupal\push_notifications\EntityCode
public function getNetwork() {
return $this
->get('network')->value;
}