public function AllowIframedSiteConfigForm::__construct in Allow site iframing 3.0.x
Same name and namespace in other branches
- 8 src/Form/AllowIframedSiteConfigForm.php \Drupal\allow_iframed_site\Form\AllowIframedSiteConfigForm::__construct()
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides ConfigFormBase::__construct
File
- src/
Form/ AllowIframedSiteConfigForm.php, line 23
Class
Namespace
Drupal\allow_iframed_site\FormCode
public function __construct(ConfigFactoryInterface $config_factory, FactoryInterface $plugin_factory) {
parent::__construct($config_factory);
$this->conditions['request_path'] = $plugin_factory
->createInstance('request_path');
}