You are here

public function EditRepeatingRuleConfirmationModalForm::__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.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

modules/bat_event_series/src/Form/EditRepeatingRuleConfirmationModalForm.php, line 61
Contains \Drupal\bat_event_series\Form\EditRepeatingRuleConfirmationModalForm.

Class

EditRepeatingRuleConfirmationModalForm

Namespace

Drupal\bat_event_series\Form

Code

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