public function StyleService::getStyle in Opigno training catalog 8
Same name and namespace in other branches
- 3.x src/StyleService.php \Drupal\opigno_catalog\StyleService::getStyle()
Returns style.
File
- src/
StyleService.php, line 19
Class
- StyleService
- Class StyleService.
Namespace
Drupal\opigno_catalogCode
public function getStyle() {
$tempstore = \Drupal::service('user.private_tempstore')
->get('opigno_catalog');
return $tempstore
->get('style');
}