Update to Drupal 8.0.0-rc3. For more information, see https://www.drupal.org/node/2608078

This commit is contained in:
Pantheon Automation 2015-11-04 11:11:27 -08:00 committed by Greg Anderson
parent 6419a031d7
commit 4afb23bbd3
762 changed files with 20080 additions and 6368 deletions

View file

@ -34,14 +34,14 @@ class FileReadOnlyStorage implements PhpStorageInterface {
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::exists().
* {@inheritdoc}
*/
public function exists($name) {
return file_exists($this->getFullPath($name));
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::load().
* {@inheritdoc}
*/
public function load($name) {
// The FALSE returned on failure is enough for the caller to handle this,
@ -50,14 +50,14 @@ class FileReadOnlyStorage implements PhpStorageInterface {
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::save().
* {@inheritdoc}
*/
public function save($name, $code) {
return FALSE;
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::delete().
* {@inheritdoc}
*/
public function delete($name) {
return FALSE;
@ -71,14 +71,14 @@ class FileReadOnlyStorage implements PhpStorageInterface {
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::writeable().
* {@inheritdoc}
*/
function writeable() {
return FALSE;
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::deleteAll().
* {@inheritdoc}
*/
public function deleteAll() {
return FALSE;

View file

@ -33,14 +33,14 @@ class FileStorage implements PhpStorageInterface {
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::exists().
* {@inheritdoc}
*/
public function exists($name) {
return file_exists($this->getFullPath($name));
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::load().
* {@inheritdoc}
*/
public function load($name) {
// The FALSE returned on failure is enough for the caller to handle this,
@ -49,7 +49,7 @@ class FileStorage implements PhpStorageInterface {
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::save().
* {@inheritdoc}
*/
public function save($name, $code) {
$path = $this->getFullPath($name);
@ -183,7 +183,7 @@ EOF;
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::delete().
* {@inheritdoc}
*/
public function delete($name) {
$path = $this->getFullPath($name);
@ -201,14 +201,14 @@ EOF;
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::writeable().
* {@inheritdoc}
*/
public function writeable() {
return TRUE;
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::deleteAll().
* {@inheritdoc}
*/
public function deleteAll() {
return $this->unlink($this->directory);

View file

@ -36,7 +36,7 @@ namespace Drupal\Component\PhpStorage;
class MTimeProtectedFileStorage extends MTimeProtectedFastFileStorage {
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::load().
* {@inheritdoc}
*/
public function load($name) {
if (($filename = $this->checkFile($name)) !== FALSE) {
@ -47,7 +47,7 @@ class MTimeProtectedFileStorage extends MTimeProtectedFastFileStorage {
}
/**
* Implements Drupal\Component\PhpStorage\PhpStorageInterface::exists().
* {@inheritdoc}
*/
public function exists($name) {
return $this->checkFile($name) !== FALSE;