You are here

public function AssetAddLogActionForm::__construct in farmOS 2.x

Constructs an AssetAddLogActionForm form object.

Parameters

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

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

\Drupal\Core\Session\AccountInterface $user: The current user.

File

modules/core/log/src/Form/AssetAddLogActionForm.php, line 64

Class

AssetAddLogActionForm
Provides an asset add log confirmation form.

Namespace

Drupal\farm_log\Form

Code

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