public function AdminSettings::__construct in HubSpot 8
Same name and namespace in other branches
- 3.x src/Form/AdminSettings.php \Drupal\hubspot\Form\AdminSettings::__construct()
Constructs a new AdminSettings object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\State\StateInterface $state: The state key/value store.
Overrides ConfigFormBase::__construct
File
- src/
Form/ AdminSettings.php, line 42
Class
- AdminSettings
- Hubspot admin settings form.
Namespace
Drupal\hubspot\FormCode
public function __construct(ConfigFactoryInterface $config_factory, StateInterface $state) {
parent::__construct($config_factory);
$this->state = $state;
}