function PhpStorageInterface::writeable

Same name in other branches
  1. 9 core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php \Drupal\Component\PhpStorage\PhpStorageInterface::writeable()
  2. 8.9.x core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php \Drupal\Component\PhpStorage\PhpStorageInterface::writeable()

Whether this is a writable storage.

Return value

bool TRUE if writable, otherwise FALSE.

Deprecated

in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.

See also

https://www.drupal.org/node/3155413

2 methods override PhpStorageInterface::writeable()
FileReadOnlyStorage::writeable in core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php
Whether this is a writable storage.
FileStorage::writeable in core/lib/Drupal/Component/PhpStorage/FileStorage.php
Whether this is a writable storage.

File

core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php, line 65

Class

PhpStorageInterface
Stores and loads PHP code.

Namespace

Drupal\Component\PhpStorage

Code

public function writeable();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.