You are here

public function EditRepeatingRuleModalForm::__construct in Booking and Availability Management Tools for Drupal 8

Constructs a new EditRepeatingRuleModalForm object.

Parameters

\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The tempstore factory.

File

modules/bat_event_series/src/Form/EditRepeatingRuleModalForm.php, line 64
Contains \Drupal\bat_event_series\Form\EditRepeatingRuleModalForm.

Class

EditRepeatingRuleModalForm

Namespace

Drupal\bat_event_series\Form

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, FormBuilder $formBuilder) {
  $this->tempStore = $temp_store_factory
    ->get('edit_repeating_rule');
  $this->formBuilder = $formBuilder;
}