You are here

public function Subscription::getTopic in Feeds 8.3

Returns the feed URL.

Return value

string The fully-qualified URL of the feed.

Overrides SubscriptionInterface::getTopic

File

src/Entity/Subscription.php, line 66

Class

Subscription
Defines the subscription entity class.

Namespace

Drupal\feeds\Entity

Code

public function getTopic() {
  return $this
    ->get('topic')->value;
}