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