function LayoutTempstoreRepository::__construct
Same name in other branches
- 8.9.x core/modules/layout_builder/src/LayoutTempstoreRepository.php \Drupal\layout_builder\LayoutTempstoreRepository::__construct()
- 10 core/modules/layout_builder/src/LayoutTempstoreRepository.php \Drupal\layout_builder\LayoutTempstoreRepository::__construct()
- 11.x core/modules/layout_builder/src/LayoutTempstoreRepository.php \Drupal\layout_builder\LayoutTempstoreRepository::__construct()
LayoutTempstoreRepository constructor.
Parameters
\Drupal\Core\TempStore\SharedTempStoreFactory $temp_store_factory: The shared tempstore factory.
File
-
core/
modules/ layout_builder/ src/ LayoutTempstoreRepository.php, line 25
Class
- LayoutTempstoreRepository
- Provides a mechanism for loading layouts from tempstore.
Namespace
Drupal\layout_builderCode
public function __construct(SharedTempStoreFactory $temp_store_factory) {
$this->tempStoreFactory = $temp_store_factory;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.