public function TempStoreController::__construct in Bootstrap Styles 1.0.x
Constructs a TempStoreController object.
Parameters
\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The tempstore service.
File
- src/
Controller/ TempStoreController.php, line 29
Class
- TempStoreController
- Set or get any value to bootstrap_styles temp store.
Namespace
Drupal\bootstrap_styles\ControllerCode
public function __construct(PrivateTempStoreFactory $temp_store_factory) {
$this->tempStore = $temp_store_factory
->get('bootstrap_styles');
}