StyleService.php in Opigno training catalog 3.x
Same filename and directory in other branches
Namespace
Drupal\opigno_catalogFile
src/StyleService.phpView source
<?php
namespace Drupal\opigno_catalog;
/**
* Class StyleService.
*/
class StyleService {
/**
* Constructs a new StyleService object.
*/
public function __construct() {
}
/**
* Returns style.
*/
public function getStyle() {
$tempstore = \Drupal::service('tempstore.private')
->get('opigno_catalog');
return $tempstore
->get('style');
}
}
Classes
Name![]() |
Description |
---|---|
StyleService | Class StyleService. |