public function Item::setFeedId in Drupal 8
Same name and namespace in other branches
- 9 core/modules/aggregator/src/Entity/Item.php \Drupal\aggregator\Entity\Item::setFeedId()
Sets the feed id of aggregator item.
Parameters
int $fid: The feed id.
Return value
$this The called feed item entity.
Overrides ItemInterface::setFeedId
File
- core/
modules/ aggregator/ src/ Entity/ Item.php, line 132
Class
- Item
- Defines the aggregator item entity class.
Namespace
Drupal\aggregator\EntityCode
public function setFeedId($fid) {
return $this
->set('fid', $fid);
}