You are here

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

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

Constructs a new DateRecurModularSierraModalOccurrencesForm.

Parameters

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

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

\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: The date formatter service.

File

src/Form/DateRecurModularSierraModalOccurrencesForm.php, line 63

Class

DateRecurModularSierraModalOccurrencesForm
Generate a form to excluding occurrences, designed for display in modal.

Namespace

Drupal\date_recur_modular\Form

Code

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