public function EmailForm::__construct in Commerce Email 8
Constructs a new EmailForm object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Plugin\DefaultPluginManager $email_event_manager: The email event plugin manager.
File
- src/
Form/ EmailForm.php, line 32
Class
Namespace
Drupal\commerce_email\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, DefaultPluginManager $email_event_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->emailEventManager = $email_event_manager;
}