You are here

public function VideoEmbedDialog::__construct in Video Embed Field 8

Same name and namespace in other branches
  1. 8.2 modules/video_embed_wysiwyg/src/Form/VideoEmbedDialog.php \Drupal\video_embed_wysiwyg\Form\VideoEmbedDialog::__construct()

VideoEmbedDialog constructor.

Parameters

\Drupal\video_embed_field\ProviderManager $provider_manager: The video provider plugin manager.

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

File

modules/video_embed_wysiwyg/src/Form/VideoEmbedDialog.php, line 49

Class

VideoEmbedDialog
A class for a video embed dialog.

Namespace

Drupal\video_embed_wysiwyg\Form

Code

public function __construct(ProviderManager $provider_manager, RendererInterface $renderer) {
  $this->providerManager = $provider_manager;
  $this->render = $renderer;
}