function TempstoreAccess::__construct

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

Constructor for access to shared tempstore.

File

src/Access/TempstoreAccess.php, line 28

Class

TempstoreAccess
Tempstore Access for ctools.

Namespace

Drupal\ctools\Access

Code

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