You are here

public function Feed::getSource in Feeds 8.3

Returns the source of the feed.

Return value

string The source of a feed.

Overrides FeedInterface::getSource

File

src/Entity/Feed.php, line 126

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

public function getSource() {
  return $this
    ->get('source')->value;
}