You are here

public function TawkToExtraSettingsForm::__construct in Tawk.to - Live chat application (Drupal 8) 8

Same name and namespace in other branches
  1. 8.2 src/Form/TawkToExtraSettingsForm.php \Drupal\tawk_to\Form\TawkToExtraSettingsForm::__construct()

Constructs a TawkToExtraSettingsForm object.

Parameters

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

\Drupal\Core\Executable\ExecutableManagerInterface $manager: The ConditionManager for building the visibility UI.

\Drupal\Core\Plugin\Context\ContextRepositoryInterface $contextRepository: The lazy context repository service.

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

Overrides ConfigFormBase::__construct

File

src/Form/TawkToExtraSettingsForm.php, line 56

Class

TawkToExtraSettingsForm
Provides form for block instance forms.

Namespace

Drupal\tawk_to\Form

Code

public function __construct(ConfigFactoryInterface $configFactory, ExecutableManagerInterface $manager, ContextRepositoryInterface $contextRepository, LanguageManagerInterface $language) {
  parent::__construct($configFactory);
  $this->manager = $manager;
  $this->contextRepository = $contextRepository;
  $this->language = $language;
}