public function StyleService::getStyle in Opigno training catalog 3.x
Same name and namespace in other branches
- 8 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('tempstore.private')
->get('opigno_catalog');
return $tempstore
->get('style');
}