Skip to content
Snippets Groups Projects
Commit bd9008cf authored by catch's avatar catch
Browse files

Issue #2868078 by Manuel Garcia, claudiu.cristea, benjifisher, faline,...

Issue #2868078 by Manuel Garcia, claudiu.cristea, benjifisher, faline, gigiabba, ankitjain28may, mohit1604: Use new array syntax in PHP files outside of /core
parent 06580774
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@
* );
* @endcode
*/
$databases = array();
$databases = [];
/**
* Customizing database settings.
......@@ -251,7 +251,7 @@
* );
* @endcode
*/
$config_directories = array();
$config_directories = [];
/**
* Settings:
......@@ -379,7 +379,7 @@
* 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
......@@ -573,10 +573,10 @@
* 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:
......@@ -630,7 +630,7 @@
* 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.
......
......@@ -26,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment