public function PushNotificationsToken::setNetwork in Push Notifications 8
Sets the entity network.
Parameters
string $network Network ID.:
Return value
$this
Overrides PushNotificationsTokenInterface::setNetwork
File
- src/
Entity/ PushNotificationsToken.php, line 129 - Contains \Drupal\push_notifications\Entity\PushNotificationsToken.
Class
- PushNotificationsToken
- Defines the token entity.
Namespace
Drupal\push_notifications\EntityCode
public function setNetwork($network) {
$this
->set('network', $network);
return $this;
}