You are here

public function StyleService::getStyle in Opigno training catalog 3.x

Same name and namespace in other branches
  1. 8 src/StyleService.php \Drupal\opigno_catalog\StyleService::getStyle()

Returns style.

File

src/StyleService.php, line 19

Class

StyleService
Class StyleService.

Namespace

Drupal\opigno_catalog

Code

public function getStyle() {
  $tempstore = \Drupal::service('tempstore.private')
    ->get('opigno_catalog');
  return $tempstore
    ->get('style');
}