You are here

public function GathercontentMultistepFormBase::__construct in GatherContent 8

File

src/Form/GathercontentMultistepFormBase.php, line 50

Class

GathercontentMultistepFormBase
Class GathercontentMultistepFormBase.

Namespace

Drupal\gathercontent\Form

Code

public function __construct(EntityManagerInterface $entity_manager, DateFormatterInterface $date_formatter, PrivateTempStoreFactory $temp_store_factory, QueryFactory $entityQuery) {
  $this->entity_manager = $entity_manager;
  $this->date_formatter = $date_formatter;
  $this->tempStoreFactory = $temp_store_factory;
  $this->entityQuery = $entityQuery;
  $this->store = $this->tempStoreFactory
    ->get('gathercontent_multistep_data');
}