function ContextDelete::getTempstore

Same name in other branches
  1. 4.0.x src/Form/ContextDelete.php \Drupal\ctools\Form\ContextDelete::getTempstore()

Get a temp storage object.

Return value

mixed The tempstore object.

File

src/Form/ContextDelete.php, line 91

Class

ContextDelete
Provides a form for deleting an contexts and relationships.

Namespace

Drupal\ctools\Form

Code

protected function getTempstore() {
    return $this->tempstore
        ->get($this->tempstore_id)
        ->get($this->machine_name);
}