core update and body summary wysiwyg patch

This commit is contained in:
Bachir Soussi Chiadmi 2025-04-01 16:40:26 +02:00
parent 6a2a4beb5f
commit 1ac7d51420
97 changed files with 689 additions and 788 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
*.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.
# - Do not treat them as text.
# - Include binary diff in patches instead of "binary files differ."

View File

@ -18,9 +18,9 @@
"composer/installers": "^2.0",
"drupal/block_field": "^1.0@RC",
"drupal/config_pages": "^2.15",
"drupal/core-composer-scaffold": "^10.2",
"drupal/core-project-message": "^10.2",
"drupal/core-recommended": "^10.2",
"drupal/core-composer-scaffold": "^10.3",
"drupal/core-project-message": "^10.3",
"drupal/core-recommended": "^10.3",
"drupal/editor_advanced_link": "^2.2",
"drupal/geofield": "^1.60",
"drupal/image_delta_formatter": "^1.2",
@ -131,7 +131,8 @@
},
"patches": {
"drupal/core": {
"Image field generates only default language URL when linking to corresponding entity. https://www.drupal.org/node/2645922?no_cache=1733132298":"https://www.drupal.org/files/issues/2021-03-15/2645922-45.patch"
"Image field generates only default language URL when linking to corresponding entity. https://www.drupal.org/node/2645922?no_cache=1733132298":"https://www.drupal.org/files/issues/2021-03-15/2645922-45.patch",
"Also use text editor (CKEditor) for summary of a text field https://www.drupal.org/project/drupal/issues/2671162 ":"https://www.drupal.org/files/issues/2024-09-09/2671162-151.patch"
},
"drupal/social_media_links":{
"Replace Twitter with X https://www.drupal.org/project/social_media_links/issues/3384469": "https://www.drupal.org/files/issues/2023-09-12/social_media_links-change_twitter_to_x-3384469-7.patch"

1259
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: RumewwAShocwpN5KgIf0U8Z2yd4_f7mQJpYnwLTzhhQ
langcode: fr
menu_depth: 4

View File

@ -4,5 +4,5 @@ status: true
dependencies: { }
id: link
label: Link
revision: 0
revision: false
description: ''

View File

@ -4,5 +4,5 @@ status: true
dependencies: { }
id: live_youtube
label: live-youtube
revision: 0
revision: false
description: ''

View File

@ -4,5 +4,5 @@ status: true
dependencies: { }
id: logo_link
label: Logo-link
revision: 0
revision: false
description: ''

View File

@ -2,4 +2,3 @@ _core:
default_config_hash: AF4cxceuiw6dhwOrF9ZgpyKC4xsWt4Yhvohb3WNgn8o
auto_import: { }
auto_export: { }
langcode: fr

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: LzdDtE3Im_Ysio7g1Eo8ymSMq0mgSQMPzv0khsr_J64
langcode: fr
ignored_config_entities: { }

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: Ybib_dFQ1insjZmm1a7bQlvdUVX8BGbF8EZGz2jMBPo
langcode: fr
default_form: feedback
flood:
limit: 5

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: IdcCyfVkD8kunSj3rbm1mwrfJbfcJK4bjfPheIqxnxI
langcode: fr
verbose: 0
types:
contact_message: { }

View File

@ -1,5 +1,4 @@
_core:
default_config_hash: S2TgQLZhiodGAfJKqb5Epnsksw3ST09nIMqTazOcBuI
langcode: fr
content_lock_timeout_minutes: '30'
content_lock_timeout_on_edit: 0

View File

@ -16,12 +16,14 @@ dependencies:
- image.style.thumbnail
- node.type.actualite
module:
- advanced_text_formatter
- autocomplete_deluxe
- datetime_range
- field_group
- file
- image
- link
- maxlength
- path
- text
third_party_settings:
@ -134,8 +136,16 @@ content:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
show_summary: true
third_party_settings:
maxlength:
maxlength_js: null
maxlength_js_label: 'Contenu limité à @limit caractères, restant : <strong>@remaining</strong>'
maxlength_js_summary: null
maxlength_js_label_summary: 'Contenu limité à @limit caractères, restant : <strong>@remaining</strong>'
maxlength_js_enforce: false
advanced_text_formatter:
show_token_tree: 0
created:
type: datetime_timestamp
weight: 7

View File

@ -41,6 +41,7 @@ content:
timezone_override: ''
format_type: jj
separator: '-'
from_to: both
third_party_settings: { }
weight: 6
region: content

View File

@ -42,6 +42,7 @@ content:
timezone_override: ''
format_type: jj
separator: '-'
from_to: both
third_party_settings: { }
weight: 5
region: content

View File

@ -41,6 +41,7 @@ content:
timezone_override: ''
format_type: jj
separator: '-'
from_to: both
third_party_settings: { }
weight: 3
region: content

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: R4IF-ClDHXxblLcG0L7MgsLvfBIMAvi_skumNFQwkDc
langcode: fr
module:
actions_permissions: 0
admin_toolbar: 0

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: vCYrtzrLLCbq9UlGR4CxiEg0LXt4qGwRO4VkluZZq9o
langcode: fr
definitions: { }

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: DfshuQJJ7I30rwPRVdQT67nvhPnXkFiJK_dmJxZgNKc
langcode: fr
row_limit: 1000

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: IF0N5iOZlOY8dJPSNNkZwph9jkMpkJvI4dTuK1xiD0Q
langcode: fr
page_alter: false
raw_names: false
error_handlers:

View File

@ -5,4 +5,3 @@ toolbar_items:
- devel.phpinfo
- devel.run_cron
- devel.theme_registry
langcode: fr

View File

@ -49,7 +49,7 @@ image_upload:
status: true
scheme: public
directory: inline-images
max_size: ''
max_size: null
max_dimensions:
width: 0
height: 0
width: null
height: null

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: k024s6lEcCjGqAq_82KNi-RRCCc37Jxo5frFNChAqao
login_with_username: false
langcode: fr

View File

@ -1,5 +1,4 @@
_core:
default_config_hash: 7CGKsosNQEyYfQ2qiob-sBdmox8rrL5He7iLJgJ1kNo
langcode: fr
file_scheme: public
upload_directory: embed_buttons

View File

@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.storage.node.body
- filter.format.wysiwyg
- node.type.actualite
module:
- text
@ -20,5 +21,6 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
allowed_formats:
- wysiwyg
field_type: text_with_summary

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: yC1VrNt3it8LmbGTO8cGhgNqRgN3ikhqun5dCWFVCAA
langcode: fr
purge_batch_size: 50

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: zZhJs6wF6FMXjS8njswFvmbk2XEGcj0nLI-mZCfAoFs
field_prefix: field_
langcode: fr

View File

@ -5,5 +5,4 @@ description:
length: 128
icon:
directory: core/modules/file/icons
langcode: fr
make_unused_managed_files_temporary: false

View File

@ -2,4 +2,3 @@ _core:
default_config_hash: lbxA85k_ynsRFrQ1JCNbgazSNG5GTs5aoOSL0W-UsvM
fallback_format: plain_text
always_show_fallback_choice: false
langcode: fr

View File

@ -1,12 +1,12 @@
_core:
default_config_hash: MkRrI2YYk2oy2dBC48Sfb-SPN2Nf9xNMJedYjbsBUFw
protect_all_forms: false
unprotected_forms:
- user_login_form
- search_form
- search_block_form
- views_exposed_form
- honeypot_settings_form
protect_all_forms: false
log: true
element_name: url
time_limit: 5
@ -20,4 +20,3 @@ form_settings:
node_fil_form: false
node_page_form: false
node_static_form: false
langcode: fr

View File

@ -3,4 +3,3 @@ _core:
preview_image: core/modules/image/sample.png
allow_insecure_derivatives: false
suppress_itok_output: false
langcode: fr

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: Ys5M79wZXx_k_rtFf65fpICqe7yH3h8iuxWMMB0utyI
langcode: fr
map:
'no': nb
pt: pt-pt

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: cRCI0tHP1UHHRAZnWB2kumZdKCl42f5lrV7q055H5jU
langcode: fr
session:
parameter: language
url:

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: uMLvVIvxpGVE_bF8BglnNT7vjMf_t8iNpe9_v1X0wAg
langcode: fr
all:
- language_interface
- language_content

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: NfYKrBm84GgW4yeYijbs7xPXbUU8jQChyiu7x4qlNOw
langcode: fr
cache_strings: true
translate_english: false
javascript:

View File

@ -3,4 +3,3 @@ _core:
send: false
log: true
verbose: true
langcode: fr

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: mKwnhF-0ryfftZZP6jyqW8q9MEo9glyRkvRzSddrc0k
langcode: fr
site_id: '7'
url_http: 'http://analytics.figureslibres.io/'
url_https: 'https://analytics.figureslibres.io/'

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: ENUzSsLjtl0THWvptK2LZ7BJtRbb032hiy3VTvjR7Pw
override_parent_selector: false
langcode: fr

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: tKLBW2GXZVLFXqS9QgLyfTuxCLc1u_quKPQLtCia-Bw
langcode: fr
entity_type_groups:
search_api_task:
search_api_task:

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: OXPp9nZGMVmjzysZndNjQcPUZHdkyhy6aYtZhf2z_Tw
langcode: fr
use_admin_theme: true

View File

@ -10,8 +10,8 @@ third_party_settings:
parent: ''
name: Actualité
type: actualite
description: ''
help: ''
description: null
help: null
new_revision: true
preview_mode: 0
display_submitted: true

View File

@ -11,8 +11,8 @@ third_party_settings:
parent: 'main:'
name: Partenaire
type: partenaire
description: ''
help: ''
description: null
help: null
new_revision: true
preview_mode: 0
display_submitted: false

View File

@ -10,8 +10,8 @@ third_party_settings:
parent: ''
name: Ressource
type: ressource
description: ''
help: ''
description: null
help: null
new_revision: true
preview_mode: 0
display_submitted: true

View File

@ -10,8 +10,8 @@ third_party_settings:
parent: ''
name: Site
type: site
description: ''
help: ''
description: null
help: null
new_revision: true
preview_mode: 0
display_submitted: true

View File

@ -13,7 +13,7 @@ _core:
name: Static
type: static
description: 'Static Page'
help: ''
help: null
new_revision: true
preview_mode: 0
display_submitted: false

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: z68x45zR7LGIA5yOENWmYUEBVYVfrokTWWDucm7wJos
langcode: fr
core_override_preset: core
url_querystring:
core_override: false

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: ckyONixWlbijZ1ok9pSAOPqQXNS_lr2WerngczXkyd0
langcode: fr
default_config:
panes:
left:

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: 7eR0sk71Eol86r_A7BMqn5_46wzenh5J1O5vZRCGKv8
langcode: fr
show_unpublished: true

View File

@ -1,5 +1,4 @@
_core:
default_config_hash: KBawd6E6CLxJ91Ow0qS2q1YzL6D767qEivE-fC55L34
langcode: fr
user_special: true
regex_pattern: '{(^node|^user|^taxonomy/term)/([0-9]+)/(.+)}'

View File

@ -44,7 +44,6 @@ reduce_ascii: false
case: true
ignore_words: 'a, an, as, at, before, but, by, for, from, is, in, into, like, of, off, on, onto, per, since, than, the, this, that, to, up, via, with'
update_action: 2
langcode: fr
safe_tokens:
- alias
- alias

View File

@ -1,10 +1,9 @@
_core:
default_config_hash: 8GufBtaRPlip9zXBTr8vzOQOHnvtFyi4xLV7si356oM
langcode: fr
protocol_style: full
local_paths: ''
scheme_whitelist:
- http
- https
- files
- internal
protocol_style: full
local_paths: ''

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: 6XRelHPjACQVOo9yRQMmbXt-ysCA2Pt6l762bxQQbdw
langcode: fr
exclude:
node: { }
paragraph: { }

View File

@ -4,4 +4,3 @@ default_cron_limit: 50
cron_worker_runtime: 15
default_tracker: default
tracking_page_size: 100
langcode: fr

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: I7OvOT30AHPJTjtFh59agVjIr3wZ3fxIaTNefRF3-OQ
autocomplete_max_occurrences: 0.9
langcode: fr

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: 25hWeYa4sasuJtHqKKcEN_nYiuEC1lMPYHsn5dawJEw
langcode: fr
links:
-
path: /

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: MUpaAk1hn-0Ph4OFw3DD_6gUF9KbGwxja9Y0qmampzo
langcode: fr
max_links: 2000
cron_generate: true
cron_generate_interval: 0

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: 33gg8hVdxE7nTswwBBOY_d2rH3XjAbBa4rw0XyMRh6Y
langcode: fr
enabled: true
submission_interval: 24
index_now_enabled: true

View File

@ -1,3 +1,4 @@
langcode: fr
blocks:
-
info: 'Lien actus'

View File

@ -1,5 +1,4 @@
_core:
default_config_hash: zKBiZlLP3MYjnboclf3QHTqV4bHL5U57k7YT09_IUgI
langcode: fr
enabled: true
interval_hours: 6

View File

@ -3,5 +3,4 @@ _core:
threshold:
requirements_warning: 172800
requirements_error: 1209600
langcode: fr
logging: 1
logging: true

View File

@ -1,12 +1,11 @@
_core:
default_config_hash: GQGMdkmApapP8hCC1EBknnYV7rkIOfLs62l0ucgCkns
first_day: 1
country:
default: FR
first_day: 1
timezone:
default: Europe/Paris
user:
configurable: false
warn: false
default: 0
langcode: fr
warn: false

View File

@ -3,4 +3,3 @@ _core:
context:
lines_leading: 2
lines_trailing: 2
langcode: fr

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: YmCMyicTFf9RprIih1qCDtcv49xhs4fIO98FLO72uoQ
langcode: fr
linkset_endpoint: false

View File

@ -5,4 +5,3 @@ default_scheme: public
path:
temporary: /tmp
temporary_maximum_age: 21600
langcode: fr

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: 4YcE8Hcsaj70JXlGGmatBaarAYPpNMonbFc3eRVZ3lo
langcode: fr
jpeg_quality: 95

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: nXCKr4YHeXjNagehk2FVvVen05hIeLJJQOxL-EV1WdA
langcode: fr
toolkit: gd

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: vWBxifROGDjDcIRD_9OAODkutkPss2kpPrFdCMNZU9g
error_level: hide
langcode: fr

View File

@ -1,5 +1,4 @@
_core:
default_config_hash: 9ROPf1HneeN1pDQSfiYMS8bfZ-SlAWEqg-xtrNpNN70
langcode: fr
interface:
default: maillog

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: bUb8UUGCJnZ5aiph4NCUr8rnJay_s8sKGe2JK_7_mzg
langcode: fr
cache:
page:
max_age: 3600

View File

@ -1,8 +1,7 @@
_core:
default_config_hash: S5uQkVe5wkt0j4O7sfCxOPi4fX8a0aUfJd9o2bNfImM
items:
view_mode: rss
limit: 10
channel:
description: ''
items:
limit: 10
view_mode: rss
langcode: fr

View File

@ -12,3 +12,4 @@ page:
admin_compact_mode: false
weight_select_max: 100
default_langcode: fr
mail_notification: null

View File

@ -14,4 +14,3 @@ logo:
path: ''
url: ''
use_default: true
langcode: fr

View File

@ -1,5 +1,4 @@
_core:
default_config_hash: TpdA4rsOBAawnqeon9A-Ooht_4VO3hHKib79xyHcTyg
langcode: fr
admin: adminimal_theme
default: quartiers_de_demain

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: 396brnwJ5mTIP9sA6artp_WiGrA7EqaYi1iSM-Dmx7I
langcode: fr
maintain_index_table: true
override_selector: false
terms_per_page_admin: 100

View File

@ -4,5 +4,6 @@ status: true
dependencies: { }
name: 'Mots Clefs'
vid: mots_clefs
description: ''
description: null
weight: 0
new_revision: false

View File

@ -4,5 +4,6 @@ status: true
dependencies: { }
name: "Type d'actualité"
vid: type_d_actualite
description: ''
description: null
weight: 0
new_revision: false

View File

@ -4,5 +4,6 @@ status: true
dependencies: { }
name: 'Type de ressources'
vid: type_de_ressources
description: ''
description: null
weight: 0
new_revision: false

View File

@ -1,4 +1,3 @@
_core:
default_config_hash: LZ0H1Rt9gdNtb0VBlKOx7XC9_u4i3nEAyuWmmkld8Ao
default_summary_length: 600
langcode: fr

View File

@ -11,4 +11,3 @@ notification:
emails:
- dev@figureslibres.io
threshold: all
langcode: fr

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: UVXBYV5p-4Bueo9KJW49zrYSzf9T4AiZxAoNI0NlVLs
langcode: fr
uid_only: false
ip_limit: 50
ip_window: 3600

View File

@ -1,6 +1,5 @@
_core:
default_config_hash: RzCmzrx-T-Sy8JX5OmtGKV_V_MxRlrxRkrI9c9igTHI
langcode: fr
display_extenders:
0: matomo
simple_sitemap_display_extender: simple_sitemap_display_extender

View File

@ -43,6 +43,7 @@ display:
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
pagination_heading_level: h4
exposed_form:
type: basic
options:

View File

@ -287,6 +287,7 @@ display:
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
pagination_heading_level: h4
exposed_form:
type: basic
options:

View File

@ -255,6 +255,7 @@ display:
previous: ' Précédent'
first: '« Premier'
last: 'Dernier »'
pagination_heading_level: h4
exposed_form:
type: basic
options:

View File

@ -4,6 +4,7 @@ status: true
dependencies:
module:
- node
- translation_views
- user
_core:
default_config_hash: yf_6yGCEaETewJBkPe9GY8fBF1YXjIh0Jgy6KH8hbHg
@ -420,6 +421,7 @@ display:
offset: false
offset_label: Décalage
quantity: 9
pagination_heading_level: h4
exposed_form:
type: basic
options:

View File

@ -535,6 +535,7 @@ display:
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
pagination_heading_level: h4
exposed_form:
type: basic
options:
@ -1070,6 +1071,7 @@ display:
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
pagination_heading_level: h4
empty: { }
arguments:
fid:

View File

@ -47,6 +47,7 @@ display:
offset: false
offset_label: Décalage
quantity: 9
pagination_heading_level: h4
exposed_form:
type: basic
options:

View File

@ -210,6 +210,7 @@ display:
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
pagination_heading_level: h4
exposed_form:
type: basic
options:

View File

@ -385,6 +385,7 @@ display:
offset: false
offset_label: Décalage
quantity: 9
pagination_heading_level: h4
exposed_form:
type: basic
options:

View File

@ -297,6 +297,7 @@ display:
offset: false
offset_label: Décalage
quantity: 9
pagination_heading_level: h4
exposed_form:
type: basic
options:

View File

@ -43,6 +43,7 @@ display:
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
pagination_heading_level: h4
exposed_form:
type: basic
options:

View File

@ -479,6 +479,7 @@ display:
offset: false
offset_label: Décalage
quantity: 9
pagination_heading_level: h4
exposed_form:
type: basic
options:

View File

@ -454,6 +454,7 @@ display:
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
pagination_heading_level: h4
exposed_form:
type: basic
options:

View File

@ -1,5 +1,4 @@
_core:
default_config_hash: 4mKGKyRNSRYDyEwDqx_3zT3VIBOJO08SPoK0AEu4g7s
langcode: fr
editor_source: //cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/ace.min.js
editor_theme: ace/theme/chrome

View File

@ -1,4 +1,8 @@
parameters:
# Toggles the super user access policy. If your website has at least one user
# with the Administrator role, it is advised to set this to false. This allows
# you to make user 1 a regular user, strengthening the security of your site.
security.enable_super_user: true
session.storage.options:
# Default ini options for sessions.
#
@ -60,6 +64,11 @@ parameters:
# \Drupal\Core\Session\SessionConfiguration::__construct()
# @default 6
sid_bits_per_character: 6
# By default, Drupal generates a session cookie name based on the full
# domain name. Set the name_suffix to a short random string to ensure this
# session cookie name is unique on different installations on the same
# domain and path (for example, when migrating from Drupal 7).
name_suffix: ''
twig.config:
# Twig debugging:
#

View File

@ -77,7 +77,7 @@
*
* @code
* $databases['default']['default'] = [
* 'database' => 'databasename',
* 'database' => 'database_name',
* 'username' => 'sql_username',
* 'password' => 'sql_password',
* 'host' => 'localhost',
@ -181,8 +181,8 @@ $databases = [];
*
* WARNING: The above defaults are designed for database portability. Changing
* them may cause unexpected behavior, including potential data loss. See
* https://www.drupal.org/developing/api/database/configuration for more
* information on these defaults and the potential issues.
* https://www.drupal.org/docs/8/api/database-api/database-configuration for
* more information on these defaults and the potential issues.
*
* More details can be found in the constructor methods for each driver:
* - \Drupal\mysql\Driver\Database\mysql\Connection::__construct()
@ -193,7 +193,7 @@ $databases = [];
* @code
* $databases['default']['default'] = [
* 'driver' => 'pgsql',
* 'database' => 'databasename',
* 'database' => 'database_name',
* 'username' => 'sql_username',
* 'password' => 'sql_password',
* 'host' => 'localhost',
@ -215,7 +215,7 @@ $databases = [];
* 'driver' => 'my_driver',
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
* 'database' => 'databasename',
* 'database' => 'database_name',
* 'username' => 'sql_username',
* 'password' => 'sql_password',
* 'host' => 'localhost',
@ -230,7 +230,7 @@ $databases = [];
* 'driver' => 'my_driver',
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
* 'database' => 'databasename',
* 'database' => 'database_name',
* 'username' => 'sql_username',
* 'password' => 'sql_password',
* 'host' => 'localhost',
@ -355,14 +355,13 @@ $settings['update_free_access'] = FALSE;
* security, or encryption benefits. In an environment where Drupal
* is behind a reverse proxy, the real IP address of the client should
* be determined such that the correct client IP address is available
* to Drupal's logging, statistics, and access management systems. In
* the most simple scenario, the proxy server will add an
* X-Forwarded-For header to the request that contains the client IP
* address. However, HTTP headers are vulnerable to spoofing, where a
* malicious client could bypass restrictions by setting the
* X-Forwarded-For header directly. Therefore, Drupal's proxy
* configuration requires the IP addresses of all remote proxies to be
* specified in $settings['reverse_proxy_addresses'] to work correctly.
* to Drupal's logging and access management systems. In the most simple
* scenario, the proxy server will add an X-Forwarded-For header to the request
* that contains the client IP address. However, HTTP headers are vulnerable to
* spoofing, where a malicious client could bypass restrictions by setting the
* X-Forwarded-For header directly. Therefore, Drupal's proxy configuration
* requires the IP addresses of all remote proxies to be specified in
* $settings['reverse_proxy_addresses'] to work correctly.
*
* Enable this setting to get Drupal to determine the client IP from the
* X-Forwarded-For header. If you are unsure about this setting, do not have a
@ -731,6 +730,8 @@ $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
* Provide a fully qualified class name here if you would like to provide an
* alternate implementation YAML parser. The class must implement the
* \Drupal\Component\Serialization\SerializationInterface interface.
*
* This setting is deprecated in Drupal 10.3 and removed in Drupal 11.
*/
# $settings['yaml_parser_class'] = NULL;
@ -808,6 +809,16 @@ $settings['entity_update_batch_size'] = 50;
*/
$settings['entity_update_backup'] = TRUE;
/**
* State caching.
*
* State caching uses the cache collector pattern to cache all requested keys
* from the state API in a single cache entry, which can greatly reduce the
* amount of database queries. However, some sites may use state with a
* lot of dynamic keys which could result in a very large cache.
*/
$settings['state_cache'] = TRUE;
/**
* Node migration type.
*

View File

@ -7,7 +7,7 @@
* Configuration file for multi-site support and directory aliasing feature.
*
* This file is required for multi-site support and also allows you to define a
* set of aliases that map hostnames, ports, and pathnames to configuration
* set of aliases that map host names, ports, and path names to configuration
* directories in the sites directory. These aliases are loaded prior to
* scanning for directories, and they are exempt from the normal discovery
* rules. See default.settings.php to view how Drupal discovers the
@ -53,5 +53,5 @@
*
* @see default.settings.php
* @see \Drupal\Core\DrupalKernel::getSitePath()
* @see https://www.drupal.org/documentation/install/multi-site
* @see https://www.drupal.org/docs/getting-started/multisite-drupal
*/