You are here

public function ForwardEmailForm::__construct in Social media share 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack object.

\Drupal\Core\Mail\MailManagerInterface $mail_manager: The mail manager.

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

\Psr\Log\LoggerInterface $logger: A logger instance.

File

src/Form/ForwardEmailForm.php, line 69

Class

ForwardEmailForm
Class ForwardEmailForm.

Namespace

Drupal\social_media\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, RequestStack $request_stack, MailManagerInterface $mail_manager, LanguageManagerInterface $language_manager, LoggerInterface $logger) {
  $this->configFactory = $config_factory;
  $this->requestStack = $request_stack;
  $this->mailManager = $mail_manager;
  $this->languageManager = $language_manager;
  $this->logger = $logger;
}