You are here

public function AjaxConfigForm::__construct in Ajax Add to Cart 8

Constructs a new AjaxConfigForm object.

Overrides ConfigFormBase::__construct

File

src/Form/AjaxConfigForm.php, line 36

Class

AjaxConfigForm
Class AjaxConfigForm.

Namespace

Drupal\ajax_add_to_cart\Form

Code

public function __construct(ConfigFactory $config_factory, PathValidator $path_validator) {
  parent::__construct($config_factory);
  $this->configFactory = $config_factory;
  $this->pathValidator = $path_validator;
}