Update Composer, update everything

This commit is contained in:
Oliver Davies 2018-11-23 12:29:20 +00:00
parent ea3e94409f
commit dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions

View file

@ -1,5 +1,7 @@
<?php
// @codingStandardsIgnoreFile
/**
* @file
* Drupal site-specific configuration file.
@ -86,7 +88,7 @@
* );
* @endcode
*/
$databases = array();
$databases = [];
/**
* Customizing database settings.
@ -249,7 +251,7 @@
* );
* @endcode
*/
$config_directories = array();
$config_directories = [];
/**
* Settings:
@ -261,23 +263,6 @@ $config_directories = array();
* @see \Drupal\Core\Site\Settings::get()
*/
/**
* The active installation profile.
*
* Changing this after installation is not recommended as it changes which
* directories are scanned during extension discovery. If this is set prior to
* installation this value will be rewritten according to the profile selected
* by the user.
*
* @see install_select_profile()
*
* @deprecated in Drupal 8.3.0 and will be removed before Drupal 9.0.0. The
* install profile is written to the core.extension configuration. If a
* service requires the install profile use the 'install_profile' container
* parameter. Functional code can use \Drupal::installProfile().
*/
# $settings['install_profile'] = '';
/**
* Salt for one-time login links, cancel links, form tokens, etc.
*
@ -377,7 +362,7 @@ $settings['update_free_access'] = FALSE;
* Specify every reverse proxy IP address in your environment.
* This setting is required if $settings['reverse_proxy'] is TRUE.
*/
# $settings['reverse_proxy_addresses'] = array('a.b.c.d', ...);
# $settings['reverse_proxy_addresses'] = ['a.b.c.d', ...];
/**
* Set this value if your proxy server sends the client IP in a header
@ -440,6 +425,15 @@ $settings['update_free_access'] = FALSE;
*/
# $settings['cache_ttl_4xx'] = 3600;
/**
* Expiration of cached forms.
*
* Drupal's Form API stores details of forms in a cache and these entries are
* kept for at least 6 hours by default. Expired entries are cleared by cron.
*
* @see \Drupal\Core\Form\FormCache::setCache()
*/
# $settings['form_cache_expiration'] = 21600;
/**
* Class Loader.
@ -562,10 +556,10 @@ if ($settings['hash_salt']) {
* The "en" part of the variable name, is dynamic and can be any langcode of
* any added language. (eg locale_custom_strings_de for german).
*/
# $settings['locale_custom_strings_en'][''] = array(
# $settings['locale_custom_strings_en'][''] = [
# 'forum' => 'Discussion board',
# '@count min' => '@count minutes',
# );
# ];
/**
* A custom theme for the offline page:
@ -619,7 +613,7 @@ if ($settings['hash_salt']) {
* override in a services.yml file in the same directory as settings.php
* (definitions in this file will override service definition defaults).
*/
# $settings['bootstrap_config_storage'] = array('Drupal\Core\Config\BootstrapConfigStorageFactory', 'getFileStorage');
# $settings['bootstrap_config_storage'] = ['Drupal\Core\Config\BootstrapConfigStorageFactory', 'getFileStorage'];
/**
* Configuration overrides.
@ -643,6 +637,7 @@ if ($settings['hash_salt']) {
* configuration values in settings.php will not fire any of the configuration
* change events.
*/
# $config['system.file']['path']['temporary'] = '/tmp';
# $config['system.site']['name'] = 'My Drupal site';
# $config['system.theme']['default'] = 'stark';
# $config['user.settings']['anonymous'] = 'Visitor';
@ -749,6 +744,16 @@ $settings['file_scan_ignore_directories'] = [
'bower_components',
];
/**
* The default number of entities to update in a batch process.
*
* This is used by update and post-update functions that need to go through and
* change all the entities on a site, so it is useful to increase this number
* if your hosting configuration (i.e. RAM allocation, CPU speed) allows for a
* larger number of entities to be processed in a single batch run.
*/
$settings['entity_update_batch_size'] = 50;
/**
* Load local development override configuration, if available.
*

View file

@ -0,0 +1,20 @@
<?php
/**
* Database settings.
*/
$databases['default']['default'] = [
'driver' => 'mysql',
'host' => 'db',
'database' => getenv('MYSQL_DATABASE'),
'username' => getenv('MYSQL_USER'),
'password' => getenv('MYSQL_PASSWORD'),
];
/**
* Trusted host configuration.
*/
$settings['trusted_host_patterns'] = [
'^dcbristol\.docksal$',
'^.+\.dcbristol\.docksal$',
];

View file

@ -25,6 +25,14 @@ $config_directories = array(
CONFIG_SYNC_DIRECTORY => dirname(DRUPAL_ROOT) . '/config',
);
/**
* If there is a local settings file, then include it
*/
$docker_settings = __DIR__ . "/settings.docker.php";
if (file_exists('/.dockerenv') && file_exists($docker_settings)) {
include $docker_settings;
}
/**
* If there is a local settings file, then include it
*/
@ -32,3 +40,6 @@ $local_settings = __DIR__ . "/settings.local.php";
if (file_exists($local_settings)) {
include $local_settings;
}
$settings['hash_salt'] = 'werewr';

View file

@ -4,13 +4,6 @@
# 'example.settings.local.php' file, which sits next to this file.
parameters:
http.response.debug_cacheability_headers: true
twig.config:
# Twig debugging.
debug: true
# Twig auto-reload.
auto_reload: null
# Twig cache.
cache: false
services:
cache.backend.null:
class: Drupal\Core\Cache\NullBackendFactory

View file

@ -1,5 +1,7 @@
<?php
// @codingStandardsIgnoreFile
/**
* @file
* Local development override configuration feature.
@ -53,7 +55,7 @@ $config['system.performance']['css']['preprocess'] = FALSE;
$config['system.performance']['js']['preprocess'] = FALSE;
/**
* Disable the render cache (this includes the page cache).
* Disable the render cache.
*
* Note: you should test with the render cache enabled, to ensure the correct
* cacheability metadata is present. However, in the early stages of
@ -62,7 +64,7 @@ $config['system.performance']['js']['preprocess'] = FALSE;
* This setting disables the render cache by using the Null cache back-end
* defined by the development.services.yml file above.
*
* Do not use this setting until after the site is installed.
* Only use this setting once the site has been installed.
*/
# $settings['cache']['bins']['render'] = 'cache.backend.null';
@ -74,6 +76,20 @@ $config['system.performance']['js']['preprocess'] = FALSE;
*/
# $settings['cache']['bins']['discovery_migration'] = 'cache.backend.memory';
/**
* Disable Internal Page Cache.
*
* Note: you should test with Internal Page Cache enabled, to ensure the correct
* cacheability metadata is present. However, in the early stages of
* development, you may want to disable it.
*
* This setting disables the page cache by using the Null cache back-end
* defined by the development.services.yml file above.
*
* Only use this setting once the site has been installed.
*/
# $settings['cache']['bins']['page'] = 'cache.backend.null';
/**
* Disable Dynamic Page Cache.
*
@ -90,7 +106,7 @@ $config['system.performance']['js']['preprocess'] = FALSE;
* During development it can be useful to install test extensions for debugging
* purposes.
*/
$settings['extension_discovery_scan_tests'] = TRUE;
# $settings['extension_discovery_scan_tests'] = TRUE;
/**
* Enable access to rebuild.php.

View file

@ -1,5 +1,7 @@
<?php
// @codingStandardsIgnoreFile
/**
* @file
* Configuration file for multi-site support and directory aliasing feature.
@ -24,9 +26,9 @@
* example, to map https://www.drupal.org:8080/mysite/test to the configuration
* directory sites/example.com, the array should be defined as:
* @code
* $sites = array(
* $sites = [
* '8080.www.drupal.org.mysite.test' => 'example.com',
* );
* ];
* @endcode
* The URL, https://www.drupal.org:8080/mysite/test/, could be a symbolic link
* or an Apache Alias directive that points to the Drupal root containing