You are here

public function Subscription::getHub in Feeds 8.3

Returns the fully-qualified URL of the PuSH hub.

Return value

string The fully-qualified URL of the PuSH hub.

Overrides SubscriptionInterface::getHub

File

src/Entity/Subscription.php, line 52

Class

Subscription
Defines the subscription entity class.

Namespace

Drupal\feeds\Entity

Code

public function getHub() {
  return $this
    ->get('hub')->value;
}