You are here

public function DateRecurModularSierraModalForm::__construct in Recurring Date Field Modular Widgets 8

Same name and namespace in other branches
  1. 3.x src/Form/DateRecurModularSierraModalForm.php \Drupal\date_recur_modular\Form\DateRecurModularSierraModalForm::__construct()
  2. 2.x src/Form/DateRecurModularSierraModalForm.php \Drupal\date_recur_modular\Form\DateRecurModularSierraModalForm::__construct()

Constructs a new DateRecurModularSierraModalForm.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: A config factory for retrieving required config objects.

\Drupal\Core\TempStore\PrivateTempStoreFactory $tempStoreFactory: The PrivateTempStore factory.

File

src/Form/DateRecurModularSierraModalForm.php, line 59

Class

DateRecurModularSierraModalForm
Generate a form designed for display in modal.

Namespace

Drupal\date_recur_modular\Form

Code

public function __construct(ConfigFactoryInterface $configFactory, PrivateTempStoreFactory $tempStoreFactory) {
  $this->configFactory = $configFactory;
  $this->tempStoreFactory = $tempStoreFactory;
}