public function SkypeSettingsForm::__construct in Skype 8
SkypeSettingsForm constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory:
Overrides ConfigFormBase::__construct
File
- src/
Form/ SkypeSettingsForm.php, line 25
Class
- SkypeSettingsForm
- Class SkypeSettingsForm.
Namespace
Drupal\skype\FormCode
public function __construct(ConfigFactoryInterface $config_factory) {
parent::__construct($config_factory);
$config = $this
->config('skype.settings');
$this->enabled = $config
->get('enable_chat');
$this->initiateChat = $config
->get('initiate_chat');
$this->buttonStyle = $config
->get('button_style');
}