You are here

public function FileReadOnlyStorage::writeable in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php \Drupal\Component\PhpStorage\FileReadOnlyStorage::writeable()

Whether this is a writable storage.

Return value

bool

Overrides PhpStorageInterface::writeable

File

core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php, line 71

Class

FileReadOnlyStorage
Reads code as regular PHP files, but won't write them.

Namespace

Drupal\Component\PhpStorage

Code

public function writeable() {
  return FALSE;
}