You are here

public function LogFileManager::setFilePermissions in File Log 2.0.x

Same name in this branch
  1. 2.0.x src/LogFileManager.php \Drupal\filelog\LogFileManager::setFilePermissions()
  2. 2.0.x src/ProxyClass/LogFileManager.php \Drupal\filelog\ProxyClass\LogFileManager::setFilePermissions()

Set correct permissions on the log file.

Return value

bool TRUE for success, FALSE in the event of an error.

Overrides LogFileManagerInterface::setFilePermissions

See also

\Drupal\Core\File\FileSystemInterface::chmod()

File

src/ProxyClass/LogFileManager.php, line 83

Class

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

Namespace

Drupal\filelog\ProxyClass

Code

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