You are here

public function TagService::__construct in TagCloud 8

Same name and namespace in other branches
  1. 2.0.x src/TagService.php \Drupal\tagclouds\TagService::__construct()
  2. 1.0.x src/TagService.php \Drupal\tagclouds\TagService::__construct()

Constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Cache\CacheBackendInterface $cache_store: The cache store.

File

src/TagService.php, line 47

Class

TagService
Class TagService.

Namespace

Drupal\tagclouds

Code

public function __construct(ConfigFactoryInterface $config_factory, LanguageManagerInterface $language_manager, CacheBackendInterface $cache_store) {
  $this->configFactory = $config_factory;
  $this->languageManager = $language_manager;
  $this->cacheStore = $cache_store;
}