public function WebformAdminConfigVariantsForm::__construct in Webform 8.5
Constructs a WebformAdminConfigVariantsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\webform\Plugin\WebformVariantManagerInterface $variant_manager: The webform variant manager.
Overrides ConfigFormBase::__construct
File
- src/
Form/ AdminConfig/ WebformAdminConfigVariantsForm.php, line 39
Class
- WebformAdminConfigVariantsForm
- Configure webform admin settings for variants.
Namespace
Drupal\webform\Form\AdminConfigCode
public function __construct(ConfigFactoryInterface $config_factory, WebformVariantManagerInterface $variant_manager) {
parent::__construct($config_factory);
$this->variantManager = $variant_manager;
}