You are here

public function EntityLegalDocumentAcceptanceForm::__construct in Entity Legal 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Form/EntityLegalDocumentAcceptanceForm.php \Drupal\entity_legal\Form\EntityLegalDocumentAcceptanceForm::__construct()
  2. 4.0.x src/Form/EntityLegalDocumentAcceptanceForm.php \Drupal\entity_legal\Form\EntityLegalDocumentAcceptanceForm::__construct()

Builds a new form instance.

Parameters

\Drupal\Core\TempStore\PrivateTempStoreFactory $private_temp_store_factory: The private temp store factory service.

File

src/Form/EntityLegalDocumentAcceptanceForm.php, line 36

Class

EntityLegalDocumentAcceptanceForm
Provides a confirmation form for deleting a custom block entity.

Namespace

Drupal\entity_legal\Form

Code

public function __construct(PrivateTempStoreFactory $private_temp_store_factory) {
  $this->tempStore = $private_temp_store_factory
    ->get('entity_legal');
}