public function OembedProviderForm::__construct in oEmbed Providers 1.0.x
Same name and namespace in other branches
- 2.x src/OembedProviderForm.php \Drupal\oembed_providers\OembedProviderForm::__construct()
- 1.1.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_providersCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, MessengerInterface $messenger) {
$this->entityTypeManager = $entityTypeManager;
$this->messenger = $messenger;
}