You are here

public function SubscriberMassSubscribeForm::__construct in Simplenews 8

Same name and namespace in other branches
  1. 8.2 src/Form/SubscriberMassSubscribeForm.php \Drupal\simplenews\Form\SubscriberMassSubscribeForm::__construct()
  2. 3.x src/Form/SubscriberMassSubscribeForm.php \Drupal\simplenews\Form\SubscriberMassSubscribeForm::__construct()

Constructs a new SubscriberMassSubscribeForm.

Parameters

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

File

src/Form/SubscriberMassSubscribeForm.php, line 29

Class

SubscriberMassSubscribeForm
Do a mass subscription for a list of email addresses.

Namespace

Drupal\simplenews\Form

Code

public function __construct(LanguageManagerInterface $language_manager) {
  $this->languageManager = $language_manager;
}