Skip to content

Commit 7c62d9a

Browse files
committed
Update scaffold with 8.0.0-beta16
1 parent f8091c4 commit 7c62d9a

File tree

5 files changed

+20
-7
lines changed

5 files changed

+20
-7
lines changed

web/.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
core/assets/vendor/**/*
22
core/modules/locale/tests/locale_test.js
3-
core/vendor/**/*
3+
vendor/**/*
44
sites/**/files/**/*
55
libraries/**/*
66
sites/**/libraries/**/*

web/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@
5151
*.png -text diff
5252
*.phar -text diff
5353
*.exe -text diff
54+
*.ttf -text diff

web/sites/default/default.settings.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@
238238
* Example:
239239
* @code
240240
* $config_directories = array(
241-
* CONFIG_ACTIVE_DIRECTORY => '/some/directory/outside/webroot',
242241
* CONFIG_STAGING_DIRECTORY => '/another/directory/outside/webroot',
243242
* );
244243
* @endcode
@@ -610,16 +609,16 @@
610609
*
611610
* The options below return a simple, fast 404 page for URLs matching a
612611
* specific pattern:
613-
* - $conf['system.performance']['fast_404']['exclude_paths']: A regular
612+
* - $config['system.performance']['fast_404']['exclude_paths']: A regular
614613
* expression to match paths to exclude, such as images generated by image
615614
* styles, or dynamically-resized images. The default pattern provided below
616615
* also excludes the private file system. If you need to add more paths, you
617616
* can add '|path' to the expression.
618-
* - $conf['system.performance']['fast_404']['paths']: A regular expression to
617+
* - $config['system.performance']['fast_404']['paths']: A regular expression to
619618
* match paths that should return a simple 404 page, rather than the fully
620619
* themed 404 page. If you don't have any aliases ending in htm or html you
621620
* can add '|s?html?' to the expression.
622-
* - $conf['system.performance']['fast_404']['html']: The html to return for
621+
* - $config['system.performance']['fast_404']['html']: The html to return for
623622
* simple 404 pages.
624623
*
625624
* Remove the leading hash signs if you would like to alter this functionality.

web/sites/example.settings.local.php

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,25 @@
5252
/**
5353
* Disable the render cache (this includes the page cache).
5454
*
55+
* Note: you should test with the render cache enabled, to ensure the correct
56+
* cacheability metadata is present. However, in the early stages of
57+
* development, you may want to disable it.
58+
*
5559
* This setting disables the render cache by using the Null cache back-end
5660
* defined by the development.services.yml file above.
5761
*
5862
* Do not use this setting until after the site is installed.
5963
*/
60-
$settings['cache']['bins']['render'] = 'cache.backend.null';
64+
# $settings['cache']['bins']['render'] = 'cache.backend.null';
65+
66+
/**
67+
* Disable Dynamic Page Cache.
68+
*
69+
* Note: you should test with Dynamic Page Cache enabled, to ensure the correct
70+
* cacheability metadata is present (and hence the expected behavior). However,
71+
* in the early stages of development, you may want to disable it.
72+
*/
73+
# $settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
6174

6275
/**
6376
* Allow test modules and themes to be installed.

web/sites/example.sites.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
* @endcode
5151
*
5252
* @see default.settings.php
53-
* @see conf_path()
53+
* @see \Drupal\Core\DrupalKernel::getSitePath()
5454
* @see https://www.drupal.org/documentation/install/multi-site
5555
*/

0 commit comments

Comments
 (0)