function Feed::getDescription

Returns the description of the feed.

Return value

string The description of the feed.

Overrides FeedInterface::getDescription

File

core/modules/aggregator/src/Entity/Feed.php, line 279

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function getDescription() {
  return $this->get('description')->value;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.