public static function BlazyOEmbed::create in Blazy 8.2
File
- src/
BlazyOEmbed.php, line 85
Class
- BlazyOEmbed
- Provides OEmbed integration.
Namespace
Drupal\blazyCode
public static function create(ContainerInterface $container) {
return new static($container
->get('request_stack'), $container
->get('media.oembed.resource_fetcher'), $container
->get('media.oembed.url_resolver'), $container
->get('media.oembed.iframe_url_helper'), $container
->get('image.factory'), $container
->get('blazy.manager'));
}