Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ResourceException.php

function 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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal