Item::setFeedId

public Item::setFeedId($fid)

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 125

Class

Item
Defines the aggregator item entity class.

Namespace

Drupal\aggregator\Entity

Code

public function setFeedId($fid) {
  return $this->set('fid', $fid);
}
doc_Drupal
2016-10-29 09:21:17
Comments
Leave a Comment

Please login to continue.