You are here

public function LogFileManager::ensurePath in File Log 8

Same name in this branch
  1. 8 src/LogFileManager.php \Drupal\filelog\LogFileManager::ensurePath()
  2. 8 src/ProxyClass/LogFileManager.php \Drupal\filelog\ProxyClass\LogFileManager::ensurePath()
Same name and namespace in other branches
  1. 2.0.x src/ProxyClass/LogFileManager.php \Drupal\filelog\ProxyClass\LogFileManager::ensurePath()

Ensure that the log directory exists.

Return value

bool TRUE if the path of the logfile exists and is writeable.

Overrides LogFileManagerInterface::ensurePath

File

src/ProxyClass/LogFileManager.php, line 69

Class

LogFileManager
Provides a proxy class for \Drupal\filelog\LogFileManager.

Namespace

Drupal\filelog\ProxyClass

Code

public function ensurePath() : bool {
  return $this
    ->lazyLoadItself()
    ->ensurePath();
}