You are here

public function Subscription::getToken in Feeds 8.3

Returns the token that is used as part of the URL.

Return value

string The token used as part of the URL.

Overrides SubscriptionInterface::getToken

1 call to Subscription::getToken()
Subscription::ensureToken in src/Entity/Subscription.php
Ensures that this subscription has a valid token.

File

src/Entity/Subscription.php, line 73

Class

Subscription
Defines the subscription entity class.

Namespace

Drupal\feeds\Entity

Code

public function getToken() {
  return $this
    ->get('token')->value;
}