You are here

public static function Html5::create in Video Embed HTML5 8

File

src/Plugin/video_embed_field/Provider/Html5.php, line 68

Class

Html5
A Html5 provider plugin.

Namespace

Drupal\video_embed_html5\Plugin\video_embed_field\Provider

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('http_client'), $container
    ->get('module_handler'), $container
    ->get('file_system'), $container
    ->get('config.factory'));
}