Skip to content

Commit

Permalink
Update to drupal-org-drupal 8.0.0-rc2. For more information, see http…
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantheon Automation authored and greg-1-anderson committed Oct 22, 2015
1 parent f32e58e commit 8e18df8
Show file tree
Hide file tree
Showing 3,062 changed files with 14,753 additions and 172,215 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"object-curly-spacing": [2, "never"],
"one-var": [2, "never"],
"quote-props": [2, "consistent-as-needed"],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"semi-spacing": [2, {"before": false, "after": true}],
"space-after-keywords": [2, "always"],
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
},
"scripts": {
"pre-autoload-dump": "Drupal\\Core\\Composer\\Composer::preAutoloadDump",
"post-autoload-dump": "Drupal\\Core\\Composer\\Composer::ensureHtaccess"
"post-autoload-dump": "Drupal\\Core\\Composer\\Composer::ensureHtaccess",
"post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
"post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup"
}
}
4 changes: 2 additions & 2 deletions core/INSTALL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Drupal requires:
compatible drop-in replacement for MySQL.
- Percona Server 5.5.8 (or greater) (http://www.percona.com/). Percona
Server is a backwards-compatible replacement for MySQL.
- PostgreSQL 8.3 (or greater) (http://www.postgresql.org/).
- SQLite 3.4.2 (or greater) (http://www.sqlite.org/).
- PostgreSQL 9.1.2 (or greater) (http://www.postgresql.org/).
- SQLite 3.6.8 (or greater) (http://www.sqlite.org/).

For more detailed information about Drupal requirements, including a list of
PHP extensions and configurations that are required, see "System requirements"
Expand Down
48 changes: 24 additions & 24 deletions core/UPGRADE.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
INTRODUCTION
------------
This document describes how to:

* Update your Drupal site from one minor 8.x version to another minor 8.x
version; for example, from 8.8 to 8.9, or from 8.6 to 8.10.

* Migrate your Drupal site to version 8.x.
This document describes how to update your Drupal site between 8.x.x minor and
patch versions; for example, from 8.1.2 to 8.1.3, or from 8.3.5 to 8.4.0.

To upgrade from a previous major version (for example, Drupal 6 or 7), the
process involves importing site configuration and content from your old site
into a new Drupal 8 site. The tools and process are currently experimental,
rather than being fully supported, so be sure to test in a development
environment. You will need to use the contributed Drupal Upgrade module
(https://www.drupal.org/project/migrate_upgrade), as well as the core Migrate
and Migrate Drupal modules. See https://www.drupal.org/upgrade/migrate for
details, and https://www.drupal.org/node/2167633 for known issues.

First steps and definitions:

* If you are upgrading to Drupal version x.y, then x is known as the major
version number, and y is known as the minor version number. The download
file will be named drupal-x.y.tar.gz (or drupal-x.y.zip).
* If you are upgrading to Drupal version x.y.z, then x is known as the major
version number, y is known as the minor version number, and z is known as
the patch version number. The download file will be named
drupal-x.y.z.tar.gz (or drupal-x.y.z.zip). Previous Drupal versions used
only x.y (MAJOR.MINOR) to designate their versions.

* All directories mentioned in this document are relative to the directory of
your Drupal installation.
Expand Down Expand Up @@ -46,9 +53,9 @@ If you encounter errors during this process,
More in-depth information on upgrading can be found at
https://www.drupal.org/upgrade

MINOR VERSION UPDATES
---------------------
To update from one minor 8.x version of Drupal to any later 8.x version, after
MINOR AND PATCH VERSION UPDATES
-------------------------------
To update from one 8.x.x version of Drupal to any later 8.x.x version, after
following the instructions in the INTRODUCTION section at the top of this file:

1. Log in as a user with the permission "Administer software updates".
Expand Down Expand Up @@ -87,20 +94,20 @@ following the instructions in the INTRODUCTION section at the top of this file:
this page you can scroll down or use the filter to find your version and its
release notes.

4. Download the latest Drupal 8.x release from https://www.drupal.org to a
4. Download the latest Drupal 8.x.x release from https://www.drupal.org to a
directory outside of your web root. Extract the archive and copy the files
into your Drupal directory.

On a typical Unix/Linux command line, use the following commands to download
and extract:

wget https://www.drupal.org/files/projects/drupal-x.y.tar.gz
tar -zxvf drupal-x.y.tar.gz
wget https://www.drupal.org/files/projects/drupal-x.y.z.tar.gz
tar -zxvf drupal-x.y.z.tar.gz

This creates a new directory drupal-x.y/ containing all Drupal files and
This creates a new directory drupal-x.y.z/ containing all Drupal files and
directories. Copy the files into your Drupal installation directory:

cp -R drupal-x.y/* drupal-x.y/.htaccess /path/to/your/installation
cp -R drupal-x.y.z/* drupal-x.y.z/.htaccess /path/to/your/installation

If you do not have command line access to your server, download the archive
from https://www.drupal.org using your web browser, extract it, and then use
Expand Down Expand Up @@ -135,10 +142,3 @@ following the instructions in the INTRODUCTION section at the top of this file:
Disable the "Put site into maintenance mode" checkbox and save the
configuration.

MAJOR VERSION MIGRATION
-----------------------
Upgrading from a prior major version of Drupal to Drupal 8.x is not possible.
The process now requires a migration to a Drupal 8.x site, using the Migrate
module in Drupal core.

Note that migration support in Drupal 8 is currently only partially implemented.
7 changes: 3 additions & 4 deletions core/assets/vendor/modernizr/modernizr.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/core.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ modernizr:
name: MIT
url: http://modernizr.com/license/
gpl-compatible: true
version: "v2.8.3"
version: "v3.1.0"
js:
assets/vendor/modernizr/modernizr.min.js: { preprocess: 0, weight: -21, minified: true }

Expand Down
3 changes: 2 additions & 1 deletion core/core.services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ parameters:
tags: []
factory.keyvalue:
default: keyvalue.database
http.response.debug_cacheability_headers: false
factory.keyvalue.expirable:
default: keyvalue.expirable.database
filter_protocols:
Expand Down Expand Up @@ -1070,7 +1071,7 @@ services:
class: Drupal\Core\EventSubscriber\FinishResponseSubscriber
tags:
- { name: event_subscriber }
arguments: ['@language_manager', '@config.factory', '@page_cache_request_policy', '@page_cache_response_policy', '@cache_contexts_manager']
arguments: ['@language_manager', '@config.factory', '@page_cache_request_policy', '@page_cache_response_policy', '@cache_contexts_manager', '%http.response.debug_cacheability_headers%']
response_generator_subscriber:
class: Drupal\Core\EventSubscriber\ResponseGeneratorSubscriber
tags:
Expand Down
1 change: 0 additions & 1 deletion core/includes/batch.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* @see batch_get()
*/

use Drupal\Component\Utility\SafeMarkup;
use Drupal\Component\Utility\Timer;
use Drupal\Component\Utility\UrlHelper;
use Drupal\Core\Batch\Percentage;
Expand Down
8 changes: 0 additions & 8 deletions core/includes/bootstrap.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,15 @@
* Functions that need to be loaded on every Drupal request.
*/

use Drupal\Component\Datetime\DateTimePlus;
use Drupal\Component\Utility\Crypt;
use Drupal\Component\Utility\Environment;
use Drupal\Component\Utility\Html;
use Drupal\Component\Utility\SafeMarkup;
use Drupal\Component\Utility\Unicode;
use Drupal\Core\DrupalKernel;
use Drupal\Core\Extension\ExtensionDiscovery;
use Drupal\Core\Logger\RfcLogLevel;
use Drupal\Core\Render\Markup;
use Drupal\Core\Session\AccountInterface;
use Drupal\Core\Site\Settings;
use Drupal\Core\Utility\Error;
use Symfony\Component\ClassLoader\ApcClassLoader;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Drupal\Core\Language\LanguageInterface;

/**
* Minimum supported version of PHP.
Expand Down
17 changes: 0 additions & 17 deletions core/includes/common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,18 @@
*/

use Drupal\Component\Serialization\Json;
use Drupal\Component\Serialization\Yaml;
use Drupal\Component\Serialization\Exception\InvalidDataTypeException;
use Drupal\Component\Utility\Bytes;
use Drupal\Component\Utility\Crypt;
use Drupal\Component\Utility\Html;
use Drupal\Component\Utility\Number;
use Drupal\Component\Utility\SortArray;
use Drupal\Component\Utility\SafeMarkup;
use Drupal\Component\Utility\Tags;
use Drupal\Component\Utility\UrlHelper;
use Drupal\Core\Asset\AttachedAssets;
use Drupal\Core\Cache\Cache;
use Drupal\Core\Language\LanguageInterface;
use Drupal\Core\Render\Markup;
use Drupal\Core\Render\Renderer;
use Drupal\Core\Site\Settings;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Url;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
use Drupal\Core\PhpStorage\PhpStorageFactory;
use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Datetime\DrupalDateTime;
use Drupal\Core\Routing\GeneratorNotInitializedException;
use Drupal\Core\StringTranslation\PluralTranslatableMarkup;
use Drupal\Core\Template\Attribute;
use Drupal\Core\Render\BubbleableMetadata;
use Drupal\Core\Render\Element;
use Drupal\Core\Session\AnonymousUserSession;

/**
* @defgroup php_wrappers PHP wrapper functions
Expand Down
2 changes: 0 additions & 2 deletions core/includes/entity.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
* Entity API for handling entities like nodes or users.
*/

use Drupal\Core\Cache\Cache;
use Drupal\Core\Entity\EntityStorageException;
use Drupal\Core\Entity\EntityInterface;

/**
Expand Down
2 changes: 0 additions & 2 deletions core/includes/file.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
* API for handling file uploads and server file management.
*/

use Drupal\Component\Utility\Html;
use Drupal\Component\Utility\Unicode;
use Drupal\Component\Utility\UrlHelper;
use Drupal\Component\PhpStorage\FileStorage;
use Drupal\Component\Utility\Bytes;
use Drupal\Core\File\FileSystem;
use Drupal\Core\StreamWrapper\PublicStream;
use Drupal\Core\StreamWrapper\StreamWrapperInterface;
use Drupal\Core\StreamWrapper\PrivateStream;

/**
Expand Down
5 changes: 0 additions & 5 deletions core/includes/form.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
* Functions for form and batch generation and processing.
*/

use Drupal\Component\Utility\NestedArray;
use Drupal\Component\Utility\UrlHelper;
use Drupal\Component\Utility\Xss;
use Drupal\Core\Database\Database;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Form\OptGroup;
use Drupal\Core\Render\Element;
use Drupal\Core\Template\Attribute;
use Drupal\Core\Url;
Expand Down
1 change: 0 additions & 1 deletion core/includes/install.core.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

use Drupal\Component\Utility\SafeMarkup;
use Drupal\Component\Utility\UrlHelper;
use Drupal\Core\DrupalKernel;
use Drupal\Core\Config\BootstrapConfigStorageFactory;
Expand Down
1 change: 0 additions & 1 deletion core/includes/module.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* API for loading and interacting with Drupal modules.
*/

use Drupal\Core\Cache\Cache;
use Drupal\Core\Extension\ExtensionDiscovery;

/**
Expand Down
1 change: 0 additions & 1 deletion core/includes/pager.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Functions to aid in presenting database results as a set of pages.
*/

use Drupal\Core\Template\Attribute;
use Drupal\Component\Utility\UrlHelper;

/**
Expand Down
2 changes: 0 additions & 2 deletions core/includes/schema.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
* Schema API handling functions.
*/

use Drupal\Core\Database\Database;

/**
* @addtogroup schemaapi
* @{
Expand Down
5 changes: 2 additions & 3 deletions core/includes/theme.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ use Drupal\Component\Utility\Html;
use Drupal\Component\Utility\SafeMarkup;
use Drupal\Component\Render\MarkupInterface;
use Drupal\Component\Utility\Unicode;
use Drupal\Component\Utility\Xss;
use Drupal\Core\Config\Config;
use Drupal\Core\Config\StorageException;
use Drupal\Core\Render\RenderableInterface;
Expand Down Expand Up @@ -386,7 +385,7 @@ function theme_get_setting($setting_name, $theme = NULL) {
* https://www.drupal.org/node/2575065
*/
function theme_render_and_autoescape($arg) {
if ($arg instanceOf MarkupInterface) {
if ($arg instanceof MarkupInterface) {
return (string) $arg;
}
$return = NULL;
Expand Down Expand Up @@ -1578,7 +1577,7 @@ function template_preprocess_field_multiple_value_form(&$variables) {
'data' => array(
'#prefix' => '<h4' . $header_attributes . '>',
'title' => array(
'#markup' => t($element['#title']),
'#markup' => $element['#title'],
),
'#suffix' => '</h4>',
),
Expand Down
1 change: 0 additions & 1 deletion core/includes/update.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/

use Drupal\Component\Graph\Graph;
use Drupal\Component\Utility\Html;
use Drupal\Core\Utility\Error;

/**
Expand Down
1 change: 0 additions & 1 deletion core/includes/utility.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Miscellaneous functions.
*/

use Drupal\Component\Utility\Variable;
use Drupal\Core\PhpStorage\PhpStorageFactory;
use Drupal\Core\Cache\Cache;
use Drupal\Core\DrupalKernel;
Expand Down
Loading

0 comments on commit 8e18df8

Please sign in to comment.