public function ItemInterface::setDescription in Drupal 9
Same name and namespace in other branches
- 8 core/modules/aggregator/src/ItemInterface.php \Drupal\aggregator\ItemInterface::setDescription()
Sets the body of the feed item.
Parameters
string $description: The body of the feed item.
Return value
$this The called feed item entity.
1 method overrides ItemInterface::setDescription()
- Item::setDescription in core/
modules/ aggregator/ src/ Entity/ Item.php - Sets the body of the feed item.
File
- core/
modules/ aggregator/ src/ ItemInterface.php, line 105
Class
- ItemInterface
- Provides an interface defining an aggregator item entity.
Namespace
Drupal\aggregatorCode
public function setDescription($description);