public function MultistepFormBase::__construct in GatherContent 8.4
Constructor for class.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: EntityTypeManagerInterface object.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: DateFormatterInterface object.
\Drupal\user\PrivateTempStoreFactory $temp_store_factory: PrivateTempStoreFactory object.
1 call to MultistepFormBase::__construct()
- ContentSelectForm::__construct in gathercontent_ui/
src/ Form/ ContentSelectForm.php - Constructor for class.
1 method overrides MultistepFormBase::__construct()
- ContentSelectForm::__construct in gathercontent_ui/
src/ Form/ ContentSelectForm.php - Constructor for class.
File
- gathercontent_ui/
src/ Form/ MultistepFormBase.php, line 58
Class
- MultistepFormBase
- Class MultistepFormBase.
Namespace
Drupal\gathercontent_ui\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, DateFormatterInterface $date_formatter, PrivateTempStoreFactory $temp_store_factory) {
$this->entityTypeManager = $entity_type_manager;
$this->dateFormatter = $date_formatter;
$this->tempStoreFactory = $temp_store_factory;
$this->store = $this->tempStoreFactory
->get('gathercontent_multistep_data');
}