Item::getLink

public Item::getLink()

Returns the link to the feed item.

Return value

string The link to the feed item.

Overrides ItemInterface::getLink

File

core/modules/aggregator/src/Entity/Item.php, line 146

Class

Item
Defines the aggregator item entity class.

Namespace

Drupal\aggregator\Entity

Code

public function getLink() {
  return $this->get('link')->value;
}
doc_Drupal
2016-10-29 09:21:15
Comments
Leave a Comment

Please login to continue.