You are here

public function FileSystemBase::setDirectoryState in Forena Reports 8

1 call to FileSystemBase::setDirectoryState()
FileSystemBase::scan in src/File/FileSystemBase.php
1 method overrides FileSystemBase::setDirectoryState()
TestingReportFileSystem::setDirectoryState in tests/src/Unit/Mock/TestingReportFileSystem.php

File

src/File/FileSystemBase.php, line 163
FileSystemBase.inc File toolbox for manipulating files contained tn the report directory.

Class

FileSystemBase

Namespace

Drupal\forena\File

Code

public function setDirectoryState() {
  if ($this->cacheKey) {
    return \Drupal::state()
      ->set($this->cacheKey, $this->cache);
  }
}