public function EasyEmailForm::__construct in Easy Email 8
Same name and namespace in other branches
- 2.0.x src/Form/EasyEmailForm.php \Drupal\easy_email\Form\EasyEmailForm::__construct()
Constructs a EasyEmailForm object.
Parameters
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository.
\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The factory for the temp store object.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle service.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
\Drupal\Core\Session\AccountInterface $current_user: The current user.
Overrides ContentEntityForm::__construct
File
- src/
Form/ EasyEmailForm.php, line 42
Class
- EasyEmailForm
- Form controller for Email edit forms.
Namespace
Drupal\easy_email\FormCode
public function __construct(EntityRepositoryInterface $entity_repository, PrivateTempStoreFactory $temp_store_factory, EntityTypeBundleInfoInterface $entity_type_bundle_info = NULL, TimeInterface $time = NULL) {
parent::__construct($entity_repository, $entity_type_bundle_info, $time);
$this->tempStoreFactory = $temp_store_factory;
}