function LanguageMapper::__construct
File
-
core/
modules/ ckeditor5/ src/ LanguageMapper.php, line 22
Class
- LanguageMapper
- Manages language mappings and discovery for ckeditor translations.
Namespace
Drupal\ckeditor5Code
public function __construct(#[Autowire('@cache.discovery')] CacheBackendInterface $persistent_cache, #[Autowire('@cache.memory')] CacheBackendInterface $memory_cache, protected ModuleHandlerInterface $moduleHandler) {
$this->cache = new BackendChain();
$this->cache
->appendBackend($memory_cache);
$this->cache
->appendBackend($persistent_cache);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.