public function OEmbedResolverInterface::resolveOembed in Gutenberg 8.2
Resolve a URL's oEmbed resource.
Parameters
string $url: The url to resolve an oEmbed for.
int $maxwidth: The maximum width of the oEmbed resource.
Return value
string|null The resolved oEmbed.
1 method overrides OEmbedResolverInterface::resolveOembed()
- OEmbedResolver::resolveOembed in src/
OEmbedResolver.php - Resolve a URL's oEmbed resource.
File
- src/
OEmbedResolverInterface.php, line 21
Class
- OEmbedResolverInterface
- Resolves oEmbed urls.
Namespace
Drupal\gutenbergCode
public function resolveOembed($url, $maxwidth);