function ResourceException::getUrl
Same name in other branches
- 9 core/modules/media/src/OEmbed/ResourceException.php \Drupal\media\OEmbed\ResourceException::getUrl()
- 8.9.x core/modules/media/src/OEmbed/ResourceException.php \Drupal\media\OEmbed\ResourceException::getUrl()
- 10 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\OEmbedCode
public function getUrl() {
return $this->url;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.