You are here

public function BetterMessagesSettingsForm::__construct in Better Messages 8

BetterMessagesSettingsForm constructor.

Overrides ConfigFormBase::__construct

File

src/Form/BetterMessagesSettingsForm.php, line 46

Class

BetterMessagesSettingsForm
Admin settings form of the module.

Namespace

Drupal\better_messages\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ConditionManager $condition_manager, ContextRepositoryInterface $context_repository) {
  parent::__construct($config_factory);
  $this->conditionManager = $condition_manager;
  $this->contextRepository = $context_repository;
}