You are here

public function ResourceException::getUrl in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media/src/OEmbed/ResourceException.php \Drupal\media\OEmbed\ResourceException::getUrl()

Gets the URL of the resource which caused the exception.

Return value

string The URL of the resource.

File

core/modules/media/src/OEmbed/ResourceException.php, line 53

Class

ResourceException
Exception thrown if an oEmbed resource cannot be fetched or parsed.

Namespace

Drupal\media\OEmbed

Code

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