function Feed::setDescription

Same name and namespace in other branches
  1. 8.9.x core/modules/aggregator/src/Entity/Feed.php \Drupal\aggregator\Entity\Feed::setDescription()

Sets the description of the feed.

Parameters

string $description: The description of the feed.

Return value

$this The class instance that this method is called on.

Overrides FeedInterface::setDescription

File

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

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Entity

Code

public function setDescription($description) {
    $this->set('description', $description);
    return $this;
}

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