You are here

public function OembedProviderForm::__construct in oEmbed Providers 1.1.x

Same name and namespace in other branches
  1. 2.x src/OembedProviderForm.php \Drupal\oembed_providers\OembedProviderForm::__construct()
  2. 1.0.x src/OembedProviderForm.php \Drupal\oembed_providers\OembedProviderForm::__construct()

Constructs an oEmbedProviderForm object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entityTypeManager.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

File

src/OembedProviderForm.php, line 39

Class

OembedProviderForm
Form controller for the oEmbed provider edit/add forms.

Namespace

Drupal\oembed_providers

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, MessengerInterface $messenger) {
  $this->entityTypeManager = $entityTypeManager;
  $this->messenger = $messenger;
}