You are here

public function Feed::getDescription in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/aggregator/src/Entity/Feed.php \Drupal\aggregator\Entity\Feed::getDescription()
  2. 8 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Feed.php \Zend\Feed\Reader\Extension\Atom\Feed::getDescription()
  3. 8 vendor/zendframework/zend-feed/src/Reader/Extension/DublinCore/Feed.php \Zend\Feed\Reader\Extension\DublinCore\Feed::getDescription()
Same name and namespace in other branches
  1. 8.0 core/modules/aggregator/src/Entity/Feed.php \Drupal\aggregator\Entity\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 285
Contains \Drupal\aggregator\Entity\Feed.

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

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