public function Endpoint::getUrl in Drupal 8
Same name and namespace in other branches
- 9 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::getUrl()
Returns the endpoint URL.
The URL will be built with the first available format. If the endpoint does not provide any formats, JSON will be used.
Return value
string The endpoint URL.
File
- core/
modules/ media/ src/ OEmbed/ Endpoint.php, line 98
Class
- Endpoint
- Value object for oEmbed provider endpoints.
Namespace
Drupal\media\OEmbedCode
public function getUrl() {
return $this->url;
}