public function OEmbedResolverInterface::fetchOembedHtml in Gutenberg 8.2
Fetch oEmbed HTML from a remote resource.
This is usually the provider URL.
Parameters
string $url: The oEmbed resource.
Return value
\Drupal\Component\Render\MarkupInterface|null The oEmbed HTML.
1 method overrides OEmbedResolverInterface::fetchOembedHtml()
- OEmbedResolver::fetchOembedHtml in src/
OEmbedResolver.php - Fetch oEmbed HTML from a remote resource.
File
- src/
OEmbedResolverInterface.php, line 34
Class
- OEmbedResolverInterface
- Resolves oEmbed urls.
Namespace
Drupal\gutenbergCode
public function fetchOembedHtml($url);