You are here

public function Item::setFeedId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

\Drupal\aggregator\ItemInterface The called feed item entity.

Overrides ItemInterface::setFeedId

File

core/modules/aggregator/src/Entity/Item.php, line 131
Contains \Drupal\aggregator\Entity\Item.

Class

Item
Defines the aggregator item entity class.

Namespace

Drupal\aggregator\Entity

Code

public function setFeedId($fid) {
  return $this
    ->set('fid', $fid);
}