W3cubDocs

/Drupal 8

public function FileStorage::writeable

public FileStorage::writeable()

Whether this is a writeable storage.

Return value

bool

Overrides PhpStorageInterface::writeable

File

core/lib/Drupal/Component/PhpStorage/FileStorage.php, line 200

Class

FileStorage
Stores the code as regular PHP files.

Namespace

Drupal\Component\PhpStorage

Code

public function writeable() {
  return TRUE;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!PhpStorage!FileStorage.php/function/FileStorage::writeable/8.1.x