public function Feed::setTitle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/aggregator/src/Entity/Feed.php \Drupal\aggregator\Entity\Feed::setTitle()
Sets the title of the feed.
Parameters
string $title: The short title of the feed.
Return value
\Drupal\aggregator\FeedInterface The class instance that this method is called on.
Overrides FeedInterface::setTitle
File
- core/
modules/ aggregator/ src/ Entity/ Feed.php, line 320 - Contains \Drupal\aggregator\Entity\Feed.
Class
- Feed
- Defines the aggregator feed entity class.
Namespace
Drupal\aggregator\EntityCode
public function setTitle($title) {
$this
->set('title', $title);
return $this;
}