You are here

public function FeedsItem::getUrl in Feeds 8.3

Gets the URL object.

Return value

\Drupal\Core\Url Returns a Url object.

Overrides FeedsItemInterface::getUrl

File

src/Plugin/Field/FieldType/FeedsItem.php, line 31

Class

FeedsItem
Plugin implementation of the 'feeds_item' field type.

Namespace

Drupal\feeds\Plugin\Field\FieldType

Code

public function getUrl() {
  return Url::fromUri($this->url);
}