function RequiredContextDelete::__construct

Same name in other branches
  1. 8.x-3.x src/Form/RequiredContextDelete.php \Drupal\ctools\Form\RequiredContextDelete::__construct()

The constructor.

Parameters

\Drupal\Core\TempStore\SharedTempStoreFactory $tempstore: The shared temporary storage.

File

src/Form/RequiredContextDelete.php, line 60

Class

RequiredContextDelete
Base class for adding a required contexts step to your wizard.

Namespace

Drupal\ctools\Form

Code

public function __construct(SharedTempStoreFactory $tempstore) {
    $this->tempstore = $tempstore;
}