updated drush to 12 and drupal core to 10.2

This commit is contained in:
Bachir Soussi Chiadmi 2025-01-27 11:16:32 +01:00
parent 0023c1230b
commit 11a7eb8a3f
49 changed files with 910 additions and 752 deletions

3
.gitattributes vendored
View File

@ -42,6 +42,9 @@
*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 *.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 *.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
# PHPStan's baseline uses tabs instead of spaces.
core/.phpstan-baseline.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tabwidth=2 diff=php linguist-language=php
# Define binary file attributes. # Define binary file attributes.
# - Do not treat them as text. # - Do not treat them as text.
# - Include binary diff in patches instead of "binary files differ." # - Include binary diff in patches instead of "binary files differ."

View File

@ -19,9 +19,9 @@
"drupal/agreement": "^3.0@alpha", "drupal/agreement": "^3.0@alpha",
"drupal/betterlogin": "^2.0", "drupal/betterlogin": "^2.0",
"drupal/config_pages": "^2.0", "drupal/config_pages": "^2.0",
"drupal/core-composer-scaffold": "^10", "drupal/core-composer-scaffold": "^10.2",
"drupal/core-project-message": "^10", "drupal/core-project-message": "^10.2",
"drupal/core-recommended": "^10", "drupal/core-recommended": "^10.2",
"drupal/devel": "5.1.2", "drupal/devel": "5.1.2",
"drupal/email_registration": "^1.4", "drupal/email_registration": "^1.4",
"drupal/faq": "^1.2", "drupal/faq": "^1.2",

1418
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: wtsEf26SHyRbzRKFX3yOY9yJzYsEq5e2bd7xSCKPevw default_config_hash: wtsEf26SHyRbzRKFX3yOY9yJzYsEq5e2bd7xSCKPevw
id: user.register id: user.register
label: "S'inscrire" label: "S'inscrire"
description: ''
targetEntityType: user targetEntityType: user
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: eZGw53_tQR0o846P6awZpw-1AarhtXlm-6AKAkmLvKY default_config_hash: eZGw53_tQR0o846P6awZpw-1AarhtXlm-6AKAkmLvKY
id: block.token id: block.token
label: 'Jeton (token)' label: 'Jeton (token)'
description: ''
targetEntityType: block targetEntityType: block
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: 4tedlMuvQjDOdvHdw86_e-2Rt78aR7TGFMfOK8Ejppg default_config_hash: 4tedlMuvQjDOdvHdw86_e-2Rt78aR7TGFMfOK8Ejppg
id: block_content.full id: block_content.full
label: Complet label: Complet
description: ''
targetEntityType: block_content targetEntityType: block_content
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: VYERDzPNi1-oUm7KMLjol4oLcjbHr-onKbitt4dZuN0 default_config_hash: VYERDzPNi1-oUm7KMLjol4oLcjbHr-onKbitt4dZuN0
id: config_pages.full id: config_pages.full
label: Complet label: Complet
description: ''
targetEntityType: config_pages targetEntityType: config_pages
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: 2xSc_t5yN14t-fSfl3MR1WP9Em9ij1hY8A5IIVGlhts default_config_hash: 2xSc_t5yN14t-fSfl3MR1WP9Em9ij1hY8A5IIVGlhts
id: contact_message.token id: contact_message.token
label: 'Jeton (token)' label: 'Jeton (token)'
description: ''
targetEntityType: contact_message targetEntityType: contact_message
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: uZo6zv9Fa0wuqgu1kigVUhfRyvk1vQhD9GCP3HElGBk default_config_hash: uZo6zv9Fa0wuqgu1kigVUhfRyvk1vQhD9GCP3HElGBk
id: file.token id: file.token
label: 'Jeton (token)' label: 'Jeton (token)'
description: ''
targetEntityType: file targetEntityType: file
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: y5XBjb33PolVKVUnedtISf0rSrGdyo10HxOcI6Mey_w default_config_hash: y5XBjb33PolVKVUnedtISf0rSrGdyo10HxOcI6Mey_w
id: menu_link_content.token id: menu_link_content.token
label: 'Jeton (token)' label: 'Jeton (token)'
description: ''
targetEntityType: menu_link_content targetEntityType: menu_link_content
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: m4oQ8ZK4CNZqGBAczllmaKSGmjD5xXitPDvByAPwN3c default_config_hash: m4oQ8ZK4CNZqGBAczllmaKSGmjD5xXitPDvByAPwN3c
id: node.full id: node.full
label: 'Contenu complet' label: 'Contenu complet'
description: ''
targetEntityType: node targetEntityType: node
cache: true cache: true

View File

@ -6,5 +6,6 @@ dependencies:
- node - node
id: node.home id: node.home
label: Home label: Home
description: ''
targetEntityType: node targetEntityType: node
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: _lDZ7IYi00gmEw2ZkiWGmDYwxkccBlUyLGxMIJDTYkc default_config_hash: _lDZ7IYi00gmEw2ZkiWGmDYwxkccBlUyLGxMIJDTYkc
id: node.rss id: node.rss
label: RSS label: RSS
description: ''
targetEntityType: node targetEntityType: node
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: a4DyjkgEtvja2s1_cGy9Ealzu0LbDwzhEcpFP7aArNg default_config_hash: a4DyjkgEtvja2s1_cGy9Ealzu0LbDwzhEcpFP7aArNg
id: node.search_index id: node.search_index
label: 'Index de recherche' label: 'Index de recherche'
description: ''
targetEntityType: node targetEntityType: node
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: Gj61wjl4G9UfFnYfmi-e7Eyvwiqzcz6sIP24vA4nkHU default_config_hash: Gj61wjl4G9UfFnYfmi-e7Eyvwiqzcz6sIP24vA4nkHU
id: node.search_result id: node.search_result
label: 'Résultat de recherche mettant en évidence la saisie' label: 'Résultat de recherche mettant en évidence la saisie'
description: ''
targetEntityType: node targetEntityType: node
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: qJFVUFu6IPN8a4WgoDs0gcfyJqE3l3euB0wd1kO6hRQ default_config_hash: qJFVUFu6IPN8a4WgoDs0gcfyJqE3l3euB0wd1kO6hRQ
id: node.teaser id: node.teaser
label: Accroche label: Accroche
description: ''
targetEntityType: node targetEntityType: node
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: 7JhK586z4WYrdjuTZH19-WxWlLIi2QlS2ZL7m01bO6E default_config_hash: 7JhK586z4WYrdjuTZH19-WxWlLIi2QlS2ZL7m01bO6E
id: node.token id: node.token
label: 'Jeton (token)' label: 'Jeton (token)'
description: ''
targetEntityType: node targetEntityType: node
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: h3BeHVei4Lnyqbkao3YiF4KqoY-DhRvUNfEgKG8Rgjg default_config_hash: h3BeHVei4Lnyqbkao3YiF4KqoY-DhRvUNfEgKG8Rgjg
id: paragraph.preview id: paragraph.preview
label: Aperçu label: Aperçu
description: ''
targetEntityType: paragraph targetEntityType: paragraph
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: jNmsvf8AwwKxbOUYZuY8oBMQpLbkcbFsHy1U4gQhUME default_config_hash: jNmsvf8AwwKxbOUYZuY8oBMQpLbkcbFsHy1U4gQhUME
id: path_alias.token id: path_alias.token
label: Token label: Token
description: ''
targetEntityType: path_alias targetEntityType: path_alias
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: 5w8lM4B4_NrQbKBtWrpx9ySnzyrCEA5jw4cHSsEaA_Q default_config_hash: 5w8lM4B4_NrQbKBtWrpx9ySnzyrCEA5jw4cHSsEaA_Q
id: taxonomy_term.full id: taxonomy_term.full
label: "Page d'un terme de taxonomie" label: "Page d'un terme de taxonomie"
description: ''
targetEntityType: taxonomy_term targetEntityType: taxonomy_term
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: goI4SQiGy_YqNsD1dqZ-YNk7Jh5dSVsnlHvwGfDFZXI default_config_hash: goI4SQiGy_YqNsD1dqZ-YNk7Jh5dSVsnlHvwGfDFZXI
id: taxonomy_term.token id: taxonomy_term.token
label: 'Jeton (token)' label: 'Jeton (token)'
description: ''
targetEntityType: taxonomy_term targetEntityType: taxonomy_term
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: n4bF0yaCJsxERK-1RXJhTSrmx2qD10UFNfxi1EnvQR4 default_config_hash: n4bF0yaCJsxERK-1RXJhTSrmx2qD10UFNfxi1EnvQR4
id: user.compact id: user.compact
label: Compact label: Compact
description: ''
targetEntityType: user targetEntityType: user
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: JuyuBXboCPHWE0JVpdI2hnd0NMAT1U1ZFgQYh18jDzI default_config_hash: JuyuBXboCPHWE0JVpdI2hnd0NMAT1U1ZFgQYh18jDzI
id: user.full id: user.full
label: 'Compte utilisateur' label: 'Compte utilisateur'
description: ''
targetEntityType: user targetEntityType: user
cache: true cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: JrWyKwRHER0Vr3j0Aukrr4NXdzNnB4kVjyr60gPvSA0 default_config_hash: JrWyKwRHER0Vr3j0Aukrr4NXdzNnB4kVjyr60gPvSA0
id: user.token id: user.token
label: 'Jeton (token)' label: 'Jeton (token)'
description: ''
targetEntityType: user targetEntityType: user
cache: true cache: true

View File

@ -40,8 +40,10 @@ settings:
- heading5 - heading5
- heading6 - heading6
ckeditor5_list: ckeditor5_list:
properties:
reversed: true reversed: true
startIndex: true startIndex: true
multiBlock: true
ckeditor5_sourceEditing: ckeditor5_sourceEditing:
allowed_tags: { } allowed_tags: { }
image_upload: { } image_upload: { }

View File

@ -1,9 +1,16 @@
_core: _core:
default_config_hash: _5293QOM-Perj4qDT33F4EmNlI9Ge0bNd_WYrZilDPA default_config_hash: _5293QOM-Perj4qDT33F4EmNlI9Ge0bNd_WYrZilDPA
langcode: fr
description: description:
type: textfield type: textfield
length: 128 length: 128
icon: icon:
directory: core/modules/file/icons directory: core/modules/file/icons
langcode: fr
make_unused_managed_files_temporary: false make_unused_managed_files_temporary: false
filename_sanitization:
transliterate: false
replace_whitespace: false
replace_non_alphanumeric: false
deduplicate_separators: false
lowercase: false
replacement_character: '-'

View File

@ -8,6 +8,12 @@ name: 'Texte brut'
format: plain_text format: plain_text
weight: 10 weight: 10
filters: filters:
filter_autop:
id: filter_autop
provider: filter
status: true
weight: 0
settings: { }
filter_html_escape: filter_html_escape:
id: filter_html_escape id: filter_html_escape
provider: filter provider: filter
@ -21,9 +27,3 @@ filters:
weight: 0 weight: 0
settings: settings:
filter_url_length: 72 filter_url_length: 72
filter_autop:
id: filter_autop
provider: filter
status: true
weight: 0
settings: { }

View File

@ -17,30 +17,23 @@ filters:
status: true status: true
weight: -50 weight: -50
settings: { } settings: { }
filter_html_image_secure: filter_align:
id: filter_html_image_secure id: filter_align
provider: filter provider: filter
status: true status: false
weight: -48 weight: -41
settings: { } settings: { }
filter_url:
id: filter_url
provider: filter
status: true
weight: -45
settings:
filter_url_length: 72
filter_autop: filter_autop:
id: filter_autop id: filter_autop
provider: filter provider: filter
status: true status: true
weight: -49 weight: -49
settings: { } settings: { }
filter_htmlcorrector: filter_caption:
id: filter_htmlcorrector id: filter_caption
provider: filter provider: filter
status: true status: true
weight: -47 weight: -40
settings: { } settings: { }
filter_html: filter_html:
id: filter_html id: filter_html
@ -51,24 +44,30 @@ filters:
allowed_html: '<br> <p> <h2> <h3> <h4> <h5> <h6> <strong> <em> <a href> <img src alt height width data-entity-uuid data-entity-type data-caption>' allowed_html: '<br> <p> <h2> <h3> <h4> <h5> <h6> <strong> <em> <a href> <img src alt height width data-entity-uuid data-entity-type data-caption>'
filter_html_help: true filter_html_help: true
filter_html_nofollow: false filter_html_nofollow: false
filter_align:
id: filter_align
provider: filter
status: false
weight: -41
settings: { }
filter_caption:
id: filter_caption
provider: filter
status: true
weight: -40
settings: { }
filter_html_escape: filter_html_escape:
id: filter_html_escape id: filter_html_escape
provider: filter provider: filter
status: false status: false
weight: -42 weight: -42
settings: { } settings: { }
filter_html_image_secure:
id: filter_html_image_secure
provider: filter
status: true
weight: -48
settings: { }
filter_htmlcorrector:
id: filter_htmlcorrector
provider: filter
status: true
weight: -47
settings: { }
filter_image_lazy_load:
id: filter_image_lazy_load
provider: filter
status: true
weight: 15
settings: { }
filter_pathologic: filter_pathologic:
id: filter_pathologic id: filter_pathologic
provider: pathologic provider: pathologic
@ -80,9 +79,10 @@ filters:
protocol_style: full protocol_style: full
local_paths: '' local_paths: ''
keep_language_prefix: false keep_language_prefix: false
filter_image_lazy_load: filter_url:
id: filter_image_lazy_load id: filter_url
provider: filter provider: filter
status: true status: true
weight: 15 weight: -45
settings: { } settings:
filter_url_length: 72

View File

@ -3,3 +3,10 @@ _core:
langcode: fr langcode: fr
interface: interface:
default: maillog default: maillog
mailer_dsn:
scheme: sendmail
host: default
user: null
password: null
port: null
options: { }

View File

@ -1,5 +1,6 @@
_core: _core:
default_config_hash: bUb8UUGCJnZ5aiph4NCUr8rnJay_s8sKGe2JK_7_mzg default_config_hash: bUb8UUGCJnZ5aiph4NCUr8rnJay_s8sKGe2JK_7_mzg
langcode: fr
cache: cache:
page: page:
max_age: 0 max_age: 0
@ -14,5 +15,3 @@ fast_404:
js: js:
preprocess: false preprocess: false
gzip: true gzip: true
stale_file_threshold: 2592000
langcode: fr

View File

@ -12,6 +12,6 @@ features:
node_user_picture: false node_user_picture: false
logo: logo:
path: '' path: ''
url: '' url: null
use_default: true use_default: true
langcode: fr langcode: fr

View File

@ -4,7 +4,7 @@ check:
disabled_extensions: false disabled_extensions: false
interval_days: 1 interval_days: 1
fetch: fetch:
url: '' url: null
max_attempts: 2 max_attempts: 2
timeout: 30 timeout: 30
notification: notification:

View File

@ -22,6 +22,7 @@ dependencies:
- faq - faq
- file - file
- filter - filter
- help
- node - node
- system - system
- taxonomy - taxonomy
@ -37,6 +38,7 @@ permissions:
- 'access administration pages' - 'access administration pages'
- 'access content overview' - 'access content overview'
- 'access files overview' - 'access files overview'
- 'access help pages'
- 'access site in maintenance mode' - 'access site in maintenance mode'
- 'access toolbar' - 'access toolbar'
- 'administer faq order' - 'administer faq order'

View File

@ -20,6 +20,7 @@ dependencies:
- content_lock - content_lock
- faq - faq
- filter - filter
- help
- node - node
- system - system
- taxonomy - taxonomy
@ -32,6 +33,7 @@ is_admin: null
permissions: permissions:
- 'access administration pages' - 'access administration pages'
- 'access content overview' - 'access content overview'
- 'access help pages'
- 'access site in maintenance mode' - 'access site in maintenance mode'
- 'access toolbar' - 'access toolbar'
- 'administer faq order' - 'administer faq order'

View File

@ -3,7 +3,6 @@ _core:
langcode: fr langcode: fr
display_extenders: display_extenders:
- matomo - matomo
skip_cache: false
sql_signature: false sql_signature: false
ui: ui:
show: show:

View File

@ -1092,7 +1092,6 @@ display:
default_argument_type: fixed default_argument_type: fixed
default_argument_options: default_argument_options:
argument: '' argument: ''
default_argument_skip_url: false
summary_options: summary_options:
base_path: '' base_path: ''
count: true count: true

View File

@ -248,7 +248,6 @@ display:
default_argument_type: fixed default_argument_type: fixed
default_argument_options: default_argument_options:
argument: a argument: a
default_argument_skip_url: false
summary_options: { } summary_options: { }
summary: summary:
format: default_summary format: default_summary
@ -415,7 +414,6 @@ display:
default_argument_type: fixed default_argument_type: fixed
default_argument_options: default_argument_options:
argument: a argument: a
default_argument_skip_url: false
summary_options: summary_options:
items_per_page: 25 items_per_page: 25
inline: true inline: true

View File

@ -273,7 +273,6 @@ display:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- user
- 'user.node_grants:view' - 'user.node_grants:view'
- user.permissions - user.permissions
tags: { } tags: { }
@ -291,7 +290,6 @@ display:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- user
- 'user.node_grants:view' - 'user.node_grants:view'
- user.permissions - user.permissions
tags: { } tags: { }

View File

@ -197,7 +197,6 @@ display:
title: '' title: ''
default_argument_type: node default_argument_type: node
default_argument_options: { } default_argument_options: { }
default_argument_skip_url: false
summary_options: summary_options:
base_path: '' base_path: ''
count: true count: true

View File

@ -208,7 +208,6 @@ display:
default_argument_type: user default_argument_type: user
default_argument_options: default_argument_options:
user: false user: false
default_argument_skip_url: false
summary_options: summary_options:
base_path: '' base_path: ''
count: true count: true
@ -245,7 +244,6 @@ display:
default_argument_type: fixed default_argument_type: fixed
default_argument_options: default_argument_options:
argument: '' argument: ''
default_argument_skip_url: false
summary_options: summary_options:
base_path: '' base_path: ''
count: true count: true
@ -286,7 +284,6 @@ display:
default_argument_type: fixed default_argument_type: fixed
default_argument_options: default_argument_options:
argument: '' argument: ''
default_argument_skip_url: false
summary_options: summary_options:
base_path: '' base_path: ''
count: true count: true

View File

@ -108,7 +108,6 @@ display:
default_argument_type: fixed default_argument_type: fixed
default_argument_options: default_argument_options:
argument: '' argument: ''
default_argument_skip_url: false
summary_options: summary_options:
base_path: '' base_path: ''
count: true count: true

View File

@ -452,7 +452,6 @@ display:
default_argument_type: fixed default_argument_type: fixed
default_argument_options: default_argument_options:
argument: '' argument: ''
default_argument_skip_url: false
summary_options: summary_options:
base_path: '' base_path: ''
count: true count: true

View File

@ -1,3 +1,3 @@
Please read core/INSTALL.txt for detailed installation instructions for your Read core/INSTALL.txt for detailed installation instructions for your Drupal
Drupal website. website.

@ -1 +1 @@
Subproject commit 82b0f78b6df8163278b60d1d3f878c170878c7ef Subproject commit 3378f8ef0dd9fc9805c15443f0223da5e70047ef

View File

@ -37,7 +37,15 @@ Allow: /profiles/*.svg
Disallow: /core/ Disallow: /core/
Disallow: /profiles/ Disallow: /profiles/
# Files # Files
Disallow: /README.txt Disallow: /README.md
Disallow: /composer/Metapackage/README.txt
Disallow: /composer/Plugin/ProjectMessage/README.md
Disallow: /composer/Plugin/Scaffold/README.md
Disallow: /composer/Plugin/VendorHardening/README.txt
Disallow: /composer/Template/README.txt
Disallow: /modules/README.txt
Disallow: /sites/README.txt
Disallow: /themes/README.txt
Disallow: /web.config Disallow: /web.config
# Paths (clean URLs) # Paths (clean URLs)
Disallow: /admin/ Disallow: /admin/

View File

@ -214,6 +214,8 @@ parameters:
# Configure requests allowed from specific origins. Do not include trailing # Configure requests allowed from specific origins. Do not include trailing
# slashes with URLs. # slashes with URLs.
allowedOrigins: ['*'] allowedOrigins: ['*']
# Configure requests allowed from origins, matching against regex patterns.
allowedOriginsPatterns: []
# Sets the Access-Control-Expose-Headers header. # Sets the Access-Control-Expose-Headers header.
exposedHeaders: false exposedHeaders: false
# Sets the Access-Control-Max-Age header. # Sets the Access-Control-Max-Age header.

View File

@ -24,18 +24,18 @@
* 'sites/default' will be used. * 'sites/default' will be used.
* *
* For example, for a fictitious site installed at * For example, for a fictitious site installed at
* https://www.drupal.org:8080/mysite/test/, the 'settings.php' file is searched * https://www.drupal.org:8080/my-site/test/, the 'settings.php' file is searched
* for in the following directories: * for in the following directories:
* *
* - sites/8080.www.drupal.org.mysite.test * - sites/8080.www.drupal.org.my-site.test
* - sites/www.drupal.org.mysite.test * - sites/www.drupal.org.my-site.test
* - sites/drupal.org.mysite.test * - sites/drupal.org.my-site.test
* - sites/org.mysite.test * - sites/org.my-site.test
* *
* - sites/8080.www.drupal.org.mysite * - sites/8080.www.drupal.org.my-site
* - sites/www.drupal.org.mysite * - sites/www.drupal.org.my-site
* - sites/drupal.org.mysite * - sites/drupal.org.my-site
* - sites/org.mysite * - sites/org.my-site
* *
* - sites/8080.www.drupal.org * - sites/8080.www.drupal.org
* - sites/www.drupal.org * - sites/www.drupal.org
@ -46,8 +46,8 @@
* *
* Note that if you are installing on a non-standard port number, prefix the * Note that if you are installing on a non-standard port number, prefix the
* hostname with that number. For example, * hostname with that number. For example,
* https://www.drupal.org:8080/mysite/test/ could be loaded from * https://www.drupal.org:8080/my-site/test/ could be loaded from
* sites/8080.www.drupal.org.mysite.test/. * sites/8080.www.drupal.org.my-site.test/.
* *
* @see example.sites.php * @see example.sites.php
* @see \Drupal\Core\DrupalKernel::getSitePath() * @see \Drupal\Core\DrupalKernel::getSitePath()
@ -78,8 +78,8 @@
* @code * @code
* $databases['default']['default'] = [ * $databases['default']['default'] = [
* 'database' => 'databasename', * 'database' => 'databasename',
* 'username' => 'sqlusername', * 'username' => 'sql_username',
* 'password' => 'sqlpassword', * 'password' => 'sql_password',
* 'host' => 'localhost', * 'host' => 'localhost',
* 'port' => '3306', * 'port' => '3306',
* 'driver' => 'mysql', * 'driver' => 'mysql',
@ -181,8 +181,8 @@ $databases = [];
* *
* WARNING: The above defaults are designed for database portability. Changing * WARNING: The above defaults are designed for database portability. Changing
* them may cause unexpected behavior, including potential data loss. See * them may cause unexpected behavior, including potential data loss. See
* https://www.drupal.org/developing/api/database/configuration for more * https://www.drupal.org/docs/8/api/database-api/database-configuration for
* information on these defaults and the potential issues. * more information on these defaults and the potential issues.
* *
* More details can be found in the constructor methods for each driver: * More details can be found in the constructor methods for each driver:
* - \Drupal\mysql\Driver\Database\mysql\Connection::__construct() * - \Drupal\mysql\Driver\Database\mysql\Connection::__construct()
@ -194,8 +194,8 @@ $databases = [];
* $databases['default']['default'] = [ * $databases['default']['default'] = [
* 'driver' => 'pgsql', * 'driver' => 'pgsql',
* 'database' => 'databasename', * 'database' => 'databasename',
* 'username' => 'sqlusername', * 'username' => 'sql_username',
* 'password' => 'sqlpassword', * 'password' => 'sql_password',
* 'host' => 'localhost', * 'host' => 'localhost',
* 'prefix' => '', * 'prefix' => '',
* ]; * ];
@ -205,7 +205,7 @@ $databases = [];
* @code * @code
* $databases['default']['default'] = [ * $databases['default']['default'] = [
* 'driver' => 'sqlite', * 'driver' => 'sqlite',
* 'database' => '/path/to/databasefilename', * 'database' => '/path/to/database_filename',
* ]; * ];
* @endcode * @endcode
* *
@ -216,12 +216,33 @@ $databases = [];
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver', * 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/', * 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
* 'database' => 'databasename', * 'database' => 'databasename',
* 'username' => 'sqlusername', * 'username' => 'sql_username',
* 'password' => 'sqlpassword', * 'password' => 'sql_password',
* 'host' => 'localhost', * 'host' => 'localhost',
* 'prefix' => '', * 'prefix' => '',
* ]; * ];
* @endcode * @endcode
*
* Sample Database configuration format for a driver that is extending another
* database driver.
* @code
* $databases['default']['default'] = [
* 'driver' => 'my_driver',
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
* 'database' => 'databasename',
* 'username' => 'sql_username',
* 'password' => 'sql_password',
* 'host' => 'localhost',
* 'prefix' => '',
* 'dependencies' => [
* 'parent_module' => [
* 'namespace' => 'Drupal\parent_module',
* 'autoload' => 'core/modules/parent_module/src/',
* ],
* ],
* ];
* @endcode
*/ */
/** /**
@ -567,7 +588,7 @@ $settings['update_free_access'] = FALSE;
* the output of phpinfo(). The full output can contain sensitive information * the output of phpinfo(). The full output can contain sensitive information
* so by default Drupal removes some sections. * so by default Drupal removes some sections.
* *
* This behaviour can be configured by setting this variable to a different * This behavior can be configured by setting this variable to a different
* value corresponding to the flags parameter of phpinfo(). * value corresponding to the flags parameter of phpinfo().
* *
* If you need to expose more information in the report - for example to debug a * If you need to expose more information in the report - for example to debug a

View File

@ -29,11 +29,7 @@
* It is strongly recommended that you set zend.assertions=1 in the PHP.ini file * It is strongly recommended that you set zend.assertions=1 in the PHP.ini file
* (It cannot be changed from .htaccess or runtime) on development machines and * (It cannot be changed from .htaccess or runtime) on development machines and
* to 0 or -1 in production. * to 0 or -1 in production.
*
* @see https://wiki.php.net/rfc/expectations
*/ */
assert_options(ASSERT_ACTIVE, TRUE);
assert_options(ASSERT_EXCEPTION, TRUE);
/** /**
* Enable local development services. * Enable local development services.

View File

@ -23,14 +23,14 @@
* *
* Aliases are defined in an associative array named $sites. The array is * Aliases are defined in an associative array named $sites. The array is
* written in the format: '<port>.<domain>.<path>' => 'directory'. As an * written in the format: '<port>.<domain>.<path>' => 'directory'. As an
* example, to map https://www.drupal.org:8080/mysite/test to the configuration * example, to map https://www.drupal.org:8080/my-site/test to the configuration
* directory sites/example.com, the array should be defined as: * directory sites/example.com, the array should be defined as:
* @code * @code
* $sites = [ * $sites = [
* '8080.www.drupal.org.mysite.test' => 'example.com', * '8080.www.drupal.org.my-site.test' => 'example.com',
* ]; * ];
* @endcode * @endcode
* The URL, https://www.drupal.org:8080/mysite/test/, could be a symbolic link * The URL, https://www.drupal.org:8080/my-site/test/, could be a symbolic link
* or an Apache Alias directive that points to the Drupal root containing * or an Apache Alias directive that points to the Drupal root containing
* index.php. An alias could also be created for a subdomain. See the * index.php. An alias could also be created for a subdomain. See the
* @link https://www.drupal.org/documentation/install online Drupal installation guide @endlink * @link https://www.drupal.org/documentation/install online Drupal installation guide @endlink
@ -47,11 +47,11 @@
* URL: http://localhost:8080/example * URL: http://localhost:8080/example
* $sites['8080.localhost.example'] = 'example.com'; * $sites['8080.localhost.example'] = 'example.com';
* *
* URL: https://www.drupal.org:8080/mysite/test/ * URL: https://www.drupal.org:8080/my-site/test/
* $sites['8080.www.drupal.org.mysite.test'] = 'example.com'; * $sites['8080.www.drupal.org.my-site.test'] = 'example.com';
* @endcode * @endcode
* *
* @see default.settings.php * @see default.settings.php
* @see \Drupal\Core\DrupalKernel::getSitePath() * @see \Drupal\Core\DrupalKernel::getSitePath()
* @see https://www.drupal.org/documentation/install/multi-site * @see https://www.drupal.org/docs/getting-started/multisite-drupal
*/ */