You are here

public function OEmbedResolver::getDefaultFallbackOembedProviderUri in Gutenberg 8.2

Get the fallback provider URI.

Return value

string The fallback provider URI.

Overrides OEmbedResolverInterface::getDefaultFallbackOembedProviderUri

1 call to OEmbedResolver::getDefaultFallbackOembedProviderUri()
OEmbedResolver::resolveOembed in src/OEmbedResolver.php
Resolve a URL's oEmbed resource.

File

src/OEmbedResolver.php, line 188

Class

OEmbedResolver
Class for resolving oEmbed URLs.

Namespace

Drupal\gutenberg

Code

public function getDefaultFallbackOembedProviderUri() {
  return Settings::get('gutenberg.default_oembed_provider', 'https://open.iframe.ly/api/oembed');
}