You are here

public function FontAwesomeManager::__construct in Font Awesome Icons 8.2

Constructs a FontAwesomeManager object.

Parameters

\Drupal\Core\Cache\CacheBackendInterface $data_cache: The data cache.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.

\Drupal\Core\File\FileSystemInterface $file_system: The file system helper.

File

src/FontAwesomeManager.php, line 57

Class

FontAwesomeManager
Icon Manager Service for Font Awesome.

Namespace

Drupal\fontawesome

Code

public function __construct(CacheBackendInterface $data_cache, ModuleHandlerInterface $module_handler, ThemeHandlerInterface $theme_handler, FileSystemInterface $file_system) {
  $this->dataCache = $data_cache;
  $this->moduleHandler = $module_handler;
  $this->themeHandler = $theme_handler;
  $this->fileSystem = $file_system;
}