You are here

protected function elFinderVolumeDrupal::_checkArchivers in elFinder file manager 8.2

Same name and namespace in other branches
  1. 6.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_checkArchivers()
  2. 7.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_checkArchivers()

File

src/Controller/elFinderVolumeDrupal.php, line 488
elFinder driver for Drupal filesystem.

Class

elFinderVolumeDrupal
@file

Code

protected function _checkArchivers() {
  $this->archivers = \Drupal::config('elfinder.settings')
    ->get('misc.archivers');
  if (count($this->archivers) == 0) {
    parent::_checkArchivers();

    // FIXME: cannot save
    // \Drupal::config('elfinder.settings')->set('misc.archivers', $this->archivers);
  }
}