public function SecuritytxtConfigureForm::__construct in Security.txt 8
Constructs a SecuritytxtConfigureForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SecuritytxtConfigureForm.php, line 29
Class
- SecuritytxtConfigureForm
- Configure the security.txt file.
Namespace
Drupal\securitytxt\FormCode
public function __construct(ConfigFactoryInterface $config_factory) {
parent::__construct($config_factory);
$this->settings = $config_factory
->getEditable('securitytxt.settings');
}