You are here

public function ContributeSettingsForm::__construct in Contribute 8

Constructs a ContributeSettingsForm object.

Parameters

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

\Drupal\contribute\ContributeManagerInterface $contribute_manager: The contribute manager.

Overrides ConfigFormBase::__construct

File

src/Form/ContributeSettingsForm.php, line 51

Class

ContributeSettingsForm
Configure contribute settings for this site.

Namespace

Drupal\contribute\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ContributeManagerInterface $contribute_manager) {
  parent::__construct($config_factory);
  $this->contributeManager = $contribute_manager;
}