function Provider::getUrl

Same name and namespace in other branches
  1. 9 core/modules/media/src/OEmbed/Provider.php \Drupal\media\OEmbed\Provider::getUrl()
  2. 10 core/modules/media/src/OEmbed/Provider.php \Drupal\media\OEmbed\Provider::getUrl()
  3. 11.x core/modules/media/src/OEmbed/Provider.php \Drupal\media\OEmbed\Provider::getUrl()

Returns the provider URL.

Return value

string URL of the provider.

File

core/modules/media/src/OEmbed/Provider.php, line 86

Class

Provider
Value object for oEmbed providers.

Namespace

Drupal\media\OEmbed

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.