Update to Drupal 8.1.0. For more information, see https://www.drupal.org/drupal-8.1.0-release-notes

This commit is contained in:
Pantheon Automation 2016-04-20 09:56:34 -07:00 committed by Greg Anderson
parent b11a755ba8
commit c0a0d5a94c
6920 changed files with 64395 additions and 57312 deletions

View file

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Core\StreamWrapper\LocalReadOnlyStream.
*/
namespace Drupal\Core\StreamWrapper;
/**
@ -104,7 +99,7 @@ abstract class LocalReadOnlyStream extends LocalStream {
* @return bool
* FALSE as data will not be written.
*
* @see http://php.net/manual/en/streamwrapper.stream-write.php
* @see http://php.net/manual/streamwrapper.stream-write.php
*/
public function stream_write($data) {
trigger_error('stream_write() not supported for read-only stream wrappers', E_USER_WARNING);
@ -158,7 +153,7 @@ abstract class LocalReadOnlyStream extends LocalStream {
* TRUE so that file_delete() will remove db reference to file. File is not
* actually deleted.
*
* @see http://php.net/manual/en/streamwrapper.unlink.php
* @see http://php.net/manual/streamwrapper.unlink.php
*/
public function unlink($uri) {
trigger_error('unlink() not supported for read-only stream wrappers', E_USER_WARNING);
@ -178,7 +173,7 @@ abstract class LocalReadOnlyStream extends LocalStream {
* @return bool
* FALSE as file will never be renamed.
*
* @see http://php.net/manual/en/streamwrapper.rename.php
* @see http://php.net/manual/streamwrapper.rename.php
*/
public function rename($from_uri, $to_uri) {
trigger_error('rename() not supported for read-only stream wrappers', E_USER_WARNING);
@ -200,7 +195,7 @@ abstract class LocalReadOnlyStream extends LocalStream {
* @return bool
* FALSE as directory will never be created.
*
* @see http://php.net/manual/en/streamwrapper.mkdir.php
* @see http://php.net/manual/streamwrapper.mkdir.php
*/
public function mkdir($uri, $mode, $options) {
trigger_error('mkdir() not supported for read-only stream wrappers', E_USER_WARNING);
@ -220,7 +215,7 @@ abstract class LocalReadOnlyStream extends LocalStream {
* @return bool
* FALSE as directory will never be deleted.
*
* @see http://php.net/manual/en/streamwrapper.rmdir.php
* @see http://php.net/manual/streamwrapper.rmdir.php
*/
public function rmdir($uri, $options) {
trigger_error('rmdir() not supported for read-only stream wrappers', E_USER_WARNING);

View file

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Core\StreamWrapper\LocalStream.
*/
namespace Drupal\Core\StreamWrapper;
/**

View file

@ -1,16 +1,11 @@
<?php
/**
* @file
* Contains \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface.
*/
namespace Drupal\Core\StreamWrapper;
/**
* Defines a generic PHP stream wrapper interface.
*
* @see http://www.php.net/manual/class.streamwrapper.php
* @see http://php.net/manual/class.streamwrapper.php
*/
interface PhpStreamWrapperInterface {
@ -116,7 +111,7 @@ interface PhpStreamWrapperInterface {
* Returns TRUE on success or FALSE on failure. If $option is not
* implemented, FALSE should be returned.
*
* @see http://www.php.net/manual/streamwrapper.stream-metadata.php
* @see http://php.net/manual/streamwrapper.stream-metadata.php
*/
public function stream_metadata($path, $option, $value);

View file

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Core\StreamWrapper\PrivateStream.
*/
namespace Drupal\Core\StreamWrapper;
use Drupal\Core\Routing\UrlGeneratorTrait;

View file

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Core\StreamWrapper\PublicStream.
*/
namespace Drupal\Core\StreamWrapper;
use Drupal\Component\Utility\UrlHelper;

View file

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Core\StreamWrapper\ReadOnlyStream.
*/
namespace Drupal\Core\StreamWrapper;
/**
@ -138,7 +133,7 @@ abstract class ReadOnlyStream implements StreamWrapperInterface {
* @return bool
* FALSE as data will not be written.
*
* @see http://php.net/manual/en/streamwrapper.stream-write.php
* @see http://php.net/manual/streamwrapper.stream-write.php
*/
public function stream_write($data) {
trigger_error('stream_write() not supported for read-only stream wrappers', E_USER_WARNING);
@ -192,7 +187,7 @@ abstract class ReadOnlyStream implements StreamWrapperInterface {
* TRUE so that file_delete() will remove db reference to file. File is not
* actually deleted.
*
* @see http://php.net/manual/en/streamwrapper.unlink.php
* @see http://php.net/manual/streamwrapper.unlink.php
*/
public function unlink($uri) {
trigger_error('unlink() not supported for read-only stream wrappers', E_USER_WARNING);
@ -212,7 +207,7 @@ abstract class ReadOnlyStream implements StreamWrapperInterface {
* @return bool
* FALSE as file will never be renamed.
*
* @see http://php.net/manual/en/streamwrapper.rename.php
* @see http://php.net/manual/streamwrapper.rename.php
*/
public function rename($from_uri, $to_uri) {
trigger_error('rename() not supported for read-only stream wrappers', E_USER_WARNING);
@ -234,7 +229,7 @@ abstract class ReadOnlyStream implements StreamWrapperInterface {
* @return bool
* FALSE as directory will never be created.
*
* @see http://php.net/manual/en/streamwrapper.mkdir.php
* @see http://php.net/manual/streamwrapper.mkdir.php
*/
public function mkdir($uri, $mode, $options) {
trigger_error('mkdir() not supported for read-only stream wrappers', E_USER_WARNING);
@ -254,7 +249,7 @@ abstract class ReadOnlyStream implements StreamWrapperInterface {
* @return bool
* FALSE as directory will never be deleted.
*
* @see http://php.net/manual/en/streamwrapper.rmdir.php
* @see http://php.net/manual/streamwrapper.rmdir.php
*/
public function rmdir($uri, $options) {
trigger_error('rmdir() not supported for read-only stream wrappers', E_USER_WARNING);

View file

@ -1,11 +1,13 @@
<?php
namespace Drupal\Core\StreamWrapper;
/**
* @file
* Contains \Drupal\Core\StreamWrapper\StreamWrapperInterface.
* Defines a Drupal stream wrapper extension.
*
* Provides a Drupal interface and classes to implement PHP stream wrappers for
* public, private, and temporary files.
* public, private, and temporary files. Extends the StreamWrapperInterface
* with methods expected by Drupal stream wrapper classes.
*
* A stream wrapper is an abstraction of a file system that allows Drupal to
* use the same set of methods to access both local files and remote resources.
@ -18,15 +20,6 @@
* @see http://www.faqs.org/rfcs/rfc3986.html
* @see http://bugs.php.net/bug.php?id=47070
*/
namespace Drupal\Core\StreamWrapper;
/**
* Defines a Drupal stream wrapper extension.
*
* Extends the StreamWrapperInterface with methods expected by Drupal stream
* wrapper classes.
*/
interface StreamWrapperInterface extends PhpStreamWrapperInterface {
/**

View file

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Core\StreamWrapper\StreamWrapperManager.
*/
namespace Drupal\Core\StreamWrapper;
use Symfony\Component\DependencyInjection\ContainerAware;

View file

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface.
*/
namespace Drupal\Core\StreamWrapper;
/**

View file

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Core\StreamWrapper\TemporaryStream.
*/
namespace Drupal\Core\StreamWrapper;
use \Drupal\Core\Url;