Browse Source

Posodobitev drupal modulov, konfiguracija streznika

main
root 2 weeks ago
parent
commit
2b210e3136
  1. 2
      composer.json
  2. 1516
      composer.lock
  3. 5
      web/.htaccess
  4. 4
      web/core/.cspell.json
  5. 6
      web/core/.eslintrc.jquery.json
  6. 8
      web/core/.eslintrc.json
  7. 7
      web/core/.eslintrc.passing.json
  8. 19
      web/core/.stylelintrc.json
  9. 6
      web/core/INSTALL.txt
  10. 15
      web/core/MAINTAINERS.txt
  11. 31
      web/core/assets/scaffold/files/default.settings.php
  12. 5
      web/core/assets/scaffold/files/htaccess
  13. 39
      web/core/composer.json
  14. 11
      web/core/core.api.php
  15. 204
      web/core/core.libraries.yml
  16. 35
      web/core/core.services.yml
  17. 7
      web/core/includes/bootstrap.inc
  18. 16
      web/core/includes/common.inc
  19. 10
      web/core/includes/errors.inc
  20. 3
      web/core/includes/form.inc
  21. 20
      web/core/includes/install.core.inc
  22. 42
      web/core/includes/install.inc
  23. 37
      web/core/includes/module.inc
  24. 22
      web/core/includes/update.inc
  25. 2
      web/core/install.php
  26. 15
      web/core/lib/Drupal.php
  27. 23
      web/core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php
  28. 4
      web/core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php
  29. 10
      web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php
  30. 3
      web/core/lib/Drupal/Component/FileSecurity/FileSecurity.php
  31. 2
      web/core/lib/Drupal/Component/Gettext/composer.json
  32. 2
      web/core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php
  33. 2
      web/core/lib/Drupal/Component/Render/FormattableMarkup.php
  34. 3
      web/core/lib/Drupal/Component/Utility/composer.json
  35. 2
      web/core/lib/Drupal/Component/Version/Constraint.php
  36. 4
      web/core/lib/Drupal/Core/Access/AccessResult.php
  37. 2
      web/core/lib/Drupal/Core/Access/AccessResultInterface.php
  38. 2
      web/core/lib/Drupal/Core/Annotation/QueueWorker.php
  39. 7
      web/core/lib/Drupal/Core/Asset/AssetResolver.php
  40. 3
      web/core/lib/Drupal/Core/Asset/AssetResolverInterface.php
  41. 4
      web/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
  42. 5
      web/core/lib/Drupal/Core/Authentication/AuthenticationCollector.php
  43. 3
      web/core/lib/Drupal/Core/Block/BlockBase.php
  44. 14
      web/core/lib/Drupal/Core/Block/BlockPluginTrait.php
  45. 5
      web/core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php
  46. 7
      web/core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php
  47. 2
      web/core/lib/Drupal/Core/Command/DbDumpCommand.php
  48. 90
      web/core/lib/Drupal/Core/Command/GenerateTheme.php
  49. 10
      web/core/lib/Drupal/Core/Composer/Composer.php
  50. 10
      web/core/lib/Drupal/Core/Config/ConfigImporter.php
  51. 4
      web/core/lib/Drupal/Core/Config/ConfigManager.php
  52. 8
      web/core/lib/Drupal/Core/Config/DatabaseStorage.php
  53. 8
      web/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php
  54. 20
      web/core/lib/Drupal/Core/Config/StorageCopyTrait.php
  55. 13
      web/core/lib/Drupal/Core/Cron.php
  56. 73
      web/core/lib/Drupal/Core/Database/Connection.php
  57. 82
      web/core/lib/Drupal/Core/Database/Database.php
  58. 495
      web/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
  59. 60
      web/core/lib/Drupal/Core/Database/Driver/mysql/ExceptionHandler.php
  60. 66
      web/core/lib/Drupal/Core/Database/Driver/mysql/Insert.php
  61. 215
      web/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
  62. 719
      web/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
  63. 44
      web/core/lib/Drupal/Core/Database/Driver/mysql/Upsert.php
  64. 374
      web/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
  65. 30
      web/core/lib/Drupal/Core/Database/Driver/pgsql/Delete.php
  66. 157
      web/core/lib/Drupal/Core/Database/Driver/pgsql/Insert.php
  67. 295
      web/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
  68. 1083
      web/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
  69. 159
      web/core/lib/Drupal/Core/Database/Driver/pgsql/Select.php
  70. 30
      web/core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php
  71. 84
      web/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php
  72. 125
      web/core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php
  73. 529
      web/core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
  74. 51
      web/core/lib/Drupal/Core/Database/Driver/sqlite/Insert.php
  75. 116
      web/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php
  76. 836
      web/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
  77. 18
      web/core/lib/Drupal/Core/Database/Driver/sqlite/Select.php
  78. 150
      web/core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php
  79. 21
      web/core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php
  80. 46
      web/core/lib/Drupal/Core/Database/Driver/sqlite/Upsert.php
  81. 2
      web/core/lib/Drupal/Core/Database/Query/Delete.php
  82. 7
      web/core/lib/Drupal/Core/Database/Query/Insert.php
  83. 2
      web/core/lib/Drupal/Core/Database/Query/Merge.php
  84. 2
      web/core/lib/Drupal/Core/Database/Query/Select.php
  85. 2
      web/core/lib/Drupal/Core/Database/Query/Truncate.php
  86. 2
      web/core/lib/Drupal/Core/Database/Query/Update.php
  87. 2
      web/core/lib/Drupal/Core/Database/Query/Upsert.php
  88. 2
      web/core/lib/Drupal/Core/Database/RowCountException.php
  89. 7
      web/core/lib/Drupal/Core/Database/Schema.php
  90. 8
      web/core/lib/Drupal/Core/Database/StatementInterface.php
  91. 2
      web/core/lib/Drupal/Core/Database/StatementPrefetch.php
  92. 22
      web/core/lib/Drupal/Core/DependencyInjection/Compiler/DependencySerializationTraitPass.php
  93. 6
      web/core/lib/Drupal/Core/DrupalKernel.php
  94. 2
      web/core/lib/Drupal/Core/Entity/ContentEntityBase.php
  95. 2
      web/core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
  96. 30
      web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
  97. 40
      web/core/lib/Drupal/Core/Entity/Controller/EntityViewController.php
  98. 57
      web/core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php
  99. 16
      web/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php
  100. 2
      web/core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php

2
composer.json

@ -21,6 +21,8 @@
"drupal/core-project-message": "^9.3",
"drupal/core-recommended": "^9.3",
"drupal/ldap_sso_auth": "^2.1",
"drupal/saml_sp": "^4.0",
"drupal/smtp": "^1.0",
"drush/drush": "^11.0"
},
"conflict": {

1516
composer.lock
File diff suppressed because it is too large
View File

5
web/.htaccess

@ -32,6 +32,11 @@ AddEncoding gzip svgz
php_value assert.active 0
</IfModule>
# PHP 8, Apache 1 and 2.
<IfModule mod_php.c>
php_value assert.active 0
</IfModule>
# Requires mod_expires to be enabled.
<IfModule mod_expires.c>
# Enable expirations.

4
web/core/.cspell.json

@ -13,12 +13,16 @@
"**/LICENSE.txt",
"../**/LICENSE.txt",
"modules/**/Migrate*Test.php",
"modules/aggregator/tests/fixtures/drupal6.php",
"modules/aggregator/tests/fixtures/drupal7.php",
"modules/ckeditor5/js/build/*",
"modules/color/preview.html",
"modules/color/tests/fixtures/drupal7.php",
"modules/color/tests/modules/color_test/themes/color_test_theme/color/preview.html",
"modules/media/tests/fixtures/oembed/*",
"modules/migrate_drupal/tests/fixtures/drupal6.php",
"modules/migrate_drupal/tests/fixtures/drupal7.php",
"modules/rdf/tests/fixtures/drupal7.php",
"modules/search/tests/UnicodeTest.txt",
"modules/system/tests/logo.svgz",
"node_modules/*",

6
web/core/.eslintrc.jquery.json

@ -30,7 +30,7 @@
"jquery/no-is-function": 2,
"jquery/no-is": 0,
"jquery/no-load": 2,
"jquery/no-map": 0,
"jquery/no-map": 2,
"jquery/no-merge": 2,
"jquery/no-param": 2,
"jquery/no-parent": 0,
@ -45,11 +45,11 @@
"jquery/no-sizzle": 0,
"jquery/no-slide": 0,
"jquery/no-submit": 2,
"jquery/no-text": 0,
"jquery/no-text": 2,
"jquery/no-toggle": 0,
"jquery/no-trigger": 0,
"jquery/no-trim": 2,
"jquery/no-val": 0,
"jquery/no-val": 2,
"jquery/no-when": 0,
"jquery/no-wrap": 0
}

8
web/core/.eslintrc.json

@ -1,6 +1,6 @@
{
"extends": [
"airbnb",
"airbnb-base",
"plugin:prettier/recommended",
"plugin:yml/recommended"
],
@ -25,13 +25,9 @@
"Sortable": true,
"once": true,
"CKEDITOR": true,
"CKEditor5": true,
"tabbable": true
},
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"prettier/prettier": "error",
"consistent-return": ["off"],

7
web/core/.eslintrc.passing.json

@ -10,9 +10,10 @@
"new-cap": "off",
"max-len": "off",
"default-case": "off",
"default-param-last": "off",
"prefer-destructuring": "off",
"react/no-this-in-sfc": "off",
"react/destructuring-assignment": "off",
"import/named": "off"
"prefer-regex-literals": "off",
"import/named": "off",
"import/no-import-module-exports": "off"
}
}

19
web/core/.stylelintrc.json

@ -4,19 +4,29 @@
"stylelint-order"
],
"rules": {
"alpha-value-notation": "number",
"at-rule-no-vendor-prefix": null,
"color-function-notation": "legacy",
"comment-empty-line-before": null,
"custom-property-pattern": "^[a-z][-_a-z0-9IE]*$",
"declaration-block-no-redundant-longhand-properties": null,
"function-linear-gradient-no-nonstandard-direction": null,
"function-url-quotes": null,
"function-whitespace-after": null,
"hue-degree-notation": "number",
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"no-unknown-animations": true,
"max-line-length": null,
"media-feature-name-no-unknown": [true, {
"ignoreMediaFeatureNames": [
"prefers-reduced-motion",
"min--moz-device-pixel-ratio"
]
}],
"media-feature-name-no-vendor-prefix": null,
"number-leading-zero": "always",
"number-max-precision": 5,
"order/order": [
"custom-properties",
"dollar-variables",
@ -445,17 +455,24 @@
"line-height"
],
"property-no-unknown": null,
"property-no-vendor-prefix": null,
"rule-empty-line-before": null,
"selector-attribute-quotes": null,
"selector-class-pattern": null,
"selector-id-pattern": "^[a-z][-_a-z0-9]*$",
"selector-no-vendor-prefix": null,
"selector-pseudo-element-colon-notation": null,
"shorthand-property-no-redundant-values": null,
"string-quotes": "double",
"unit-allowed-list": ["ch", "deg", "em", "ex", "fr", "ms", "rem", "%", "s", "px", "vw", "vh"],
"value-keyword-case": ["lower", {
"camelCaseSvgKeywords": true,
"ignoreProperties": [
"--font-family",
"font-family"
]
}]
}],
"value-no-vendor-prefix": null
},
"ignoreFiles": [
"assets/vendor/**/*.css",

6
web/core/INSTALL.txt

@ -15,7 +15,7 @@ QUICKSTART
----------------------
Prerequisites:
- PHP 7.3.0 (or greater) (https://php.net).
- PHP 7.4.0 (or greater) (https://php.net).
In the instructions below, replace the version x.y.z with the specific version
you wish to download. Example: 8.6.0.zip. You can find the latest stable version
@ -48,8 +48,8 @@ Drupal requires:
- A web server with PHP support, for example:
- Apache 2.4.7 (or greater) (http://httpd.apache.org/).
- Nginx 1.1 (or greater) (http://nginx.com/).
- PHP 7.3.0 (or greater) (http://php.net/). For better security support it is
recommended to update to at least 7.3.13.
- PHP 7.4.0 (or greater) (http://php.net/). For better security support it is
recommended to update to at least 8.1.0.
- One of the following databases:
- MySQL 5.7.8 (or greater) (http://www.mysql.com/).
- MariaDB 10.3.7 (or greater) (https://mariadb.org/). MariaDB is a fully

15
web/core/MAINTAINERS.txt

@ -108,7 +108,7 @@ Bootstrap
Breakpoint
- Peter Droogmans 'attiks' https://www.drupal.org/u/attiks
- Marc Drummond 'mdrummond' https://www.drupal.org/u/mdrummond
- Heather Brooke Drummond 'RainbowArray' https://www.drupal.org/u/rainbowarray
Cache
- Nathaniel Catchpole 'catch' https://www.drupal.org/u/catch
@ -118,6 +118,11 @@ CKEditor
- Wim Leers 'Wim Leers' https://www.drupal.org/u/wim-leers
- Marek 'mlewand' Lewandowski https://www.drupal.org/u/mlewand
CKEditor 5
- Lauri Eskola 'lauriii' https://www.drupal.org/u/lauriii
- Wim Leers 'Wim Leers' https://www.drupal.org/u/wim-leers
- Ben Mullins 'bnjmnm' https://www.drupal.org/u/bnjmnm
Claro
- Cristina Chumillas 'ckrina' https://www.drupal.org/u/ckrina
- Sascha Eggenberger 'saschaeggi' https://www.drupal.org/u/saschaeggi
@ -162,7 +167,7 @@ Content Translation
- ?
Contextual
- ?
- Lee Rowlands 'larowlan' https://www.drupal.org/u/larowlan
Cron
- ?
@ -370,7 +375,7 @@ REST
Responsive Image
- Peter Droogmans 'attiks' https://www.drupal.org/u/attiks
- Marc Drummond 'mdrummond' https://www.drupal.org/u/mdrummond
- Heather Brooke Drummond 'RainbowArray' https://www.drupal.org/u/rainbowarray
- Jelle Sebreghts 'Jelle_S' https://www.drupal.org/u/jelle_s
Routing
@ -529,6 +534,10 @@ Decoupled Menus Initiative
Media Initiative
- Janez Urevc 'slashrsm' https://www.drupal.org/u/slashrsm
Project Browser Initiative
- Leslie Glynn 'leslieg' https://www.drupal.org/u/leslieg
- Chris Wells 'chrisfromredfin' https://www.drupal.org/u/chrisfromredfin
Core mentoring coordinators
---------------------------

31
web/core/assets/scaffold/files/default.settings.php

@ -170,9 +170,9 @@ $databases = [];
* information on these defaults and the potential issues.
*
* More details can be found in the constructor methods for each driver:
* - \Drupal\Core\Database\Driver\mysql\Connection::__construct()
* - \Drupal\Core\Database\Driver\pgsql\Connection::__construct()
* - \Drupal\Core\Database\Driver\sqlite\Connection::__construct()
* - \Drupal\mysql\Driver\Database\mysql\Connection::__construct()
* - \Drupal\pgsql\Driver\Database\pgsql\Connection::__construct()
* - \Drupal\sqlite\Driver\Database\sqlite\Connection::__construct()
*
* Sample Database configuration format for PostgreSQL (pgsql):
* @code
@ -490,6 +490,29 @@ $settings['update_free_access'] = FALSE;
*/
# $settings['file_public_path'] = 'sites/default/files';
/**
* Additional public file schemes:
*
* Public schemes are URI schemes that allow download access to all users for
* all files within that scheme.
*
* The "public" scheme is always public, and the "private" scheme is always
* private, but other schemes, such as "https", "s3", "example", or others,
* can be either public or private depending on the site. By default, they're
* private, and access to individual files is controlled via
* hook_file_download().
*
* Typically, if a scheme should be public, a module makes it public by
* implementing hook_file_download(), and granting access to all users for all
* files. This could be either the same module that provides the stream wrapper
* for the scheme, or a different module that decides to make the scheme
* public. However, in cases where a site needs to make a scheme public, but
* is unable to add code in a module to do so, the scheme may be added to this
* variable, the result of which is that system_file_download() grants public
* access to all files within that scheme.
*/
# $settings['file_additional_public_schemes'] = ['example'];
/**
* Private file path:
*
@ -703,6 +726,8 @@ $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
* @endcode
* will allow the site to run off of all variants of example.com and
* example.org, with all subdomains included.
*
* @see https://www.drupal.org/docs/installing-drupal/trusted-host-settings
*/
/**

5
web/core/assets/scaffold/files/htaccess

@ -32,6 +32,11 @@ AddEncoding gzip svgz
php_value assert.active 0
</IfModule>
# PHP 8, Apache 1 and 2.
<IfModule mod_php.c>
php_value assert.active 0
</IfModule>
# Requires mod_expires to be enabled.
<IfModule mod_expires.c>
# Enable expirations.

39
web/core/composer.json

@ -29,28 +29,29 @@
"symfony/translation": "^4.4",
"symfony/validator": "^4.4",
"symfony/process": "^4.4",
"symfony/polyfill-iconv": "^1.0",
"symfony/polyfill-php80": "^1.16",
"symfony/polyfill-iconv": "^1.25",
"symfony/polyfill-php80": "^1.25",
"symfony/yaml": "^4.4.19",
"typo3/phar-stream-wrapper": "^3.1.3",
"twig/twig": "^2.12.0",
"doctrine/reflection": "^1.1",
"doctrine/annotations": "^1.12",
"guzzlehttp/guzzle": "^6.5.2",
"symfony-cmf/routing": "^2.1",
"laminas/laminas-feed": "^2.12",
"twig/twig": "^2.15",
"doctrine/reflection": "^1.2",
"doctrine/annotations": "^1.13",
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
"symfony-cmf/routing": "^2.3",
"laminas/laminas-feed": "^2.17",
"stack/builder": "^1.0",
"egulias/email-validator": "^2.1.22|^3.0",
"masterminds/html5": "^2.1",
"symfony/psr-http-message-bridge": "^2.0",
"laminas/laminas-diactoros": "^2.1",
"composer/semver": "^3.0",
"asm89/stack-cors": "^1.1",
"egulias/email-validator": "^2.1.22|^3.2",
"masterminds/html5": "^2.7",
"symfony/psr-http-message-bridge": "^2.1",
"laminas/laminas-diactoros": "^2.11",
"composer/semver": "^3.3",
"asm89/stack-cors": "^1.3",
"pear/archive_tar": "^1.4.14",
"psr/log": "^1.0"
"psr/log": "^1.1"
},
"conflict": {
"drush/drush": "<8.1.10"
"drush/drush": "<8.1.10",
"symfony/http-foundation": "4.4.42"
},
"replace": {
"drupal/action": "self.version",
@ -134,12 +135,14 @@
"drupal/migrate_drupal": "self.version",
"drupal/migrate_drupal_multilingual": "self.version",
"drupal/migrate_drupal_ui": "self.version",
"drupal/mysql": "self.version",
"drupal/node": "self.version",
"drupal/olivero": "self.version",
"drupal/options": "self.version",
"drupal/page_cache": "self.version",
"drupal/path": "self.version",
"drupal/path_alias": "self.version",
"drupal/pgsql": "self.version",
"drupal/quickedit": "self.version",
"drupal/rdf": "self.version",
"drupal/responsive_image": "self.version",
@ -149,6 +152,7 @@
"drupal/settings_tray": "self.version",
"drupal/seven": "self.version",
"drupal/shortcut": "self.version",
"drupal/sqlite": "self.version",
"drupal/standard": "self.version",
"drupal/stark": "self.version",
"drupal/statistics": "self.version",
@ -191,9 +195,6 @@
"lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php",
"lib/Drupal/Core/Database/Connection.php",
"lib/Drupal/Core/Database/Database.php",
"lib/Drupal/Core/Database/Driver/mysql/Connection.php",
"lib/Drupal/Core/Database/Driver/pgsql/Connection.php",
"lib/Drupal/Core/Database/Driver/sqlite/Connection.php",
"lib/Drupal/Core/Database/Statement.php",
"lib/Drupal/Core/Database/StatementInterface.php",
"lib/Drupal/Core/DependencyInjection/Container.php",

11
web/core/core.api.php

@ -114,7 +114,7 @@
* and HAL.
* - Node entity support is configured by default. If you would like to support
* other types of entities, you can copy
* core/modules/rest/config/install/rest.settings.yml to your sync
* core/modules/hal/config/optional/rest.resource.entity.node.yml to your sync
* configuration directory, appropriately modified for other entity types,
* and import it. Support for GET on the log from the Database Logging module
* can also be enabled in this way; in this case, the 'entity:node' line
@ -191,7 +191,7 @@
* // Find out when cron was last run; the key is 'system.cron_last'.
* $time = $state->get('system.cron_last');
* // Set the cron run time to the current request time.
* $state->set('system.cron_last', REQUEST_TIME);
* $state->set('system.cron_last', \Drupal::time()->getRequestTime());
* @endcode
*
* For more on the State API, see https://www.drupal.org/developing/api/8/state
@ -1923,10 +1923,11 @@ function hook_cron() {
// Short-running operation example, not using a queue:
// Delete all expired records since the last cron run.
$expires = \Drupal::state()->get('mymodule.last_check', 0);
$request_time = \Drupal::time()->getRequestTime();
\Drupal::database()->delete('mymodule_table')
->condition('expires', $expires, '>=')
->execute();
\Drupal::state()->set('mymodule.last_check', REQUEST_TIME);
\Drupal::state()->set('mymodule.last_check', $request_time);
// Long-running operation example, leveraging a queue:
// Queue news feeds for updates once their refresh interval has elapsed.
@ -1935,13 +1936,13 @@ function hook_cron() {
foreach (Feed::loadMultiple($ids) as $feed) {
if ($queue->createItem($feed)) {
// Add timestamp to avoid queueing item more than once.
$feed->setQueuedTime(REQUEST_TIME);
$feed->setQueuedTime($request_time);
$feed->save();
}
}
$ids = \Drupal::entityQuery('aggregator_feed')
->accessCheck(FALSE)
->condition('queued', REQUEST_TIME - (3600 * 6), '<')
->condition('queued', $request_time - (3600 * 6), '<')
->execute();
if ($ids) {
$feeds = Feed::loadMultiple($ids);

204
web/core/core.libraries.yml

@ -2,15 +2,33 @@
backbone:
remote: https://github.com/jashkenas/backbone
version: "1.4.0"
version: "1.4.1"
license:
name: MIT
url: https://raw.githubusercontent.com/jashkenas/backbone/1.4.0/LICENSE
url: https://raw.githubusercontent.com/jashkenas/backbone/1.4.1/LICENSE
gpl-compatible: true
js:
assets/vendor/backbone/backbone-min.js: { weight: -19, minified: true }
dependencies:
- core/underscore
deprecated: The %library_id% asset library is deprecated in Drupal 9.4.0 and will be removed in Drupal 10.0.0.
internal.backbone:
# Internal library. Do not depend on it outside core nor add new core usage.
# The library will be removed as soon as the following issues are fixed:
# - https://www.drupal.org/project/drupal/issues/3203920
# - https://www.drupal.org/project/drupal/issues/3204011
# - https://www.drupal.org/project/drupal/issues/3204015
remote: https://github.com/jashkenas/backbone
version: "1.4.1"
license:
name: MIT
url: https://raw.githubusercontent.com/jashkenas/backbone/1.4.1/LICENSE
gpl-compatible: true
js:
assets/vendor/backbone/backbone-min.js: { weight: -19, minified: true }
dependencies:
- core/internal.underscore
ckeditor:
remote: https://github.com/ckeditor/ckeditor4
@ -24,10 +42,10 @@ ckeditor:
ckeditor5:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
# This file is not aggregated to force the creation of a new aggregate file
@ -41,10 +59,10 @@ ckeditor5:
ckeditor5.editorClassic:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/editor-classic/editor-classic.js: { minified: true }
@ -53,10 +71,10 @@ ckeditor5.editorClassic:
ckeditor5.editorDecoupled:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/editor-decoupled/editor-decoupled.js: { minified: true }
@ -66,10 +84,10 @@ ckeditor5.editorDecoupled:
ckeditor5.internal:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/essentials/essentials.js: { minified: true }
@ -79,10 +97,10 @@ ckeditor5.internal:
ckeditor5.heading:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/heading/heading.js: { minified: true }
@ -92,10 +110,10 @@ ckeditor5.heading:
ckeditor5.basic:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/basic-styles/basic-styles.js: { minified: true }
@ -105,10 +123,10 @@ ckeditor5.basic:
ckeditor5.specialCharacters:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/special-characters/special-characters.js: { minified: true }
@ -118,10 +136,10 @@ ckeditor5.specialCharacters:
ckeditor5.blockquote:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/block-quote/block-quote.js: { minified: true }
@ -131,10 +149,10 @@ ckeditor5.blockquote:
ckeditor5.image:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/image/image.js: { minified: true }
@ -144,10 +162,10 @@ ckeditor5.image:
ckeditor5.link:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/link/link.js: { minified: true }
@ -157,10 +175,10 @@ ckeditor5.link:
ckeditor5.list:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/list/list.js: { minified: true }
@ -170,10 +188,10 @@ ckeditor5.list:
ckeditor5.horizontalLine:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/horizontal-line/horizontal-line.js: { minified: true }
@ -183,10 +201,10 @@ ckeditor5.horizontalLine:
ckeditor5.htmlSupport:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/html-support/html-support.js: { minified: true }
@ -196,10 +214,10 @@ ckeditor5.htmlSupport:
ckeditor5.alignment:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/alignment/alignment.js: { minified: true }
@ -209,10 +227,10 @@ ckeditor5.alignment:
ckeditor5.removeFormat:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/remove-format/remove-format.js: { minified: true }
@ -222,10 +240,10 @@ ckeditor5.removeFormat:
ckeditor5.pasteFromOffice:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/paste-from-office/paste-from-office.js: { minified: true }
@ -234,10 +252,10 @@ ckeditor5.pasteFromOffice:
ckeditor5.indent:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/indent/indent.js: { minified: true }
@ -247,10 +265,10 @@ ckeditor5.indent:
ckeditor5.sourceEditing:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/source-editing/source-editing.js: { minified: true }
@ -260,10 +278,10 @@ ckeditor5.sourceEditing:
ckeditor5.table:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/table/table.js: { minified: true }
@ -273,10 +291,10 @@ ckeditor5.table:
ckeditor5.language:
remote: https://github.com/ckeditor/ckeditor5
version: "31.0.0"
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/language/language.js: { minified: true }
@ -284,6 +302,19 @@ ckeditor5.language:
- core/ckeditor5
- core/ckeditor5.translations
ckeditor5.codeBlock:
remote: https://github.com/ckeditor/ckeditor5
version: "34.1.0"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor5/blob/v34.1.0/LICENSE.md
gpl-compatible: true
js:
assets/vendor/ckeditor5/code-block/code-block.js: { minified: true }
dependencies:
- core/ckeditor5
- core/ckeditor5.translations
ckeditor5.translations:
# No sensible version can be specified, since the translations may change at
# any time.
@ -354,6 +385,7 @@ drupal.ajax:
- core/jquery
- core/drupal
- core/drupalSettings
- core/drupal.nodelist.foreach
- core/drupal.progress
- core/once
- core/jquery.once.bc
@ -390,11 +422,10 @@ drupal.autocomplete:
assets/vendor/jquery.ui/ui/widgets/menu-min.js: { weight: -11.7, minified: true }
assets/vendor/jquery.ui/ui/data-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/disable-selection-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/escape-selector-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/focusable-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/form-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/ie-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/jquery-1-7-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/jquery-patch-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/keycode-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/plugin-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/safe-active-element-min.js: { weight: -11.8, minified: true }
@ -426,6 +457,11 @@ drupal.array.find:
js:
misc/polyfills/array.find.js: { weight: -20 }
drupal.array.includes:
version: VERSION
js:
misc/polyfills/array.includes.js: { weight: -20 }
drupal.batch:
version: VERSION
js:
@ -466,6 +502,7 @@ drupal.customevent:
misc/polyfills/customevent.js: { weight: -20 }
drupal.date:
deprecated: The "%library_id%" asset library is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. There is no replacement. See https://www.drupal.org/node/3258267
version: VERSION
js:
misc/date.js: {}
@ -504,10 +541,9 @@ drupal.dialog:
assets/vendor/jquery.ui/ui/data-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/disable-selection-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/form-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/jquery-1-7-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/jquery-patch-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/scroll-parent-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/unique-id-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/escape-selector-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/focusable-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/ie-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/keycode-min.js: { weight: -11.8, minified: true }
@ -676,6 +712,7 @@ drupal.tabledrag:
- core/drupalSettings
- core/once
- core/jquery.once.bc
- core/drupal.touchevents-test
drupal.tableheader:
version: VERSION
@ -715,11 +752,23 @@ drupal.timezone:
js:
misc/timezone.js: {}
dependencies:
- core/drupal.nodelist.foreach
- core/jquery
- core/once
- core/jquery.once.bc
- core/drupal
drupal.touchevents-test:
header: true
version: VERSION
js:
# Set weight to -22 so it loads before the Modernizr test it is
# replacing, located in modernizr-additional-tests.js. If the deprecated
# Modernizr test sees either of the classes this test adds to <body>, the
# test will not be added to Modernizr and deprecation warnings will not be
# triggered.
misc/touchevents-test.js: { weight: -22 }
drupal.vertical-tabs:
version: VERSION
js:
@ -792,6 +841,20 @@ jquery.form:
assets/vendor/jquery-form/jquery.form.min.js: { minified: true }
dependencies:
- core/jquery
deprecated: The %library_id% asset library is deprecated in Drupal 9.4.0 and will be removed in Drupal 10.0.0.
internal.jquery.form:
# Internal library. Do not depend on it outside core nor add new core usage.
remote: https://github.com/jquery-form/form
version: "4.3.0"
license:
name: GNU-GPL-2.0-or-later
url: https://raw.githubusercontent.com/jquery-form/form/master/LICENSE
gpl-compatible: true
js:
assets/vendor/jquery-form/jquery.form.min.js: { minified: true }
dependencies:
- core/jquery
jquery.joyride:
remote: https://github.com/zurb/joyride
@ -813,10 +876,10 @@ jquery.joyride:
shepherd:
remote: https://github.com/shipshapecode/shepherd
version: "8.3.1"
version: "9.1.0"
license:
name: MIT
url: https://raw.githubusercontent.com/shipshapecode/shepherd/v8.3.1/LICENSE
url: https://raw.githubusercontent.com/shipshapecode/shepherd/v9.1.0/LICENSE
gpl-compatible: true
js:
assets/vendor/shepherd/shepherd.min.js: { minified: true }
@ -849,20 +912,19 @@ jquery.once.bc:
- core/drupal.object.assign
jquery.ui:
version: &jquery_ui_version 1.12.1
version: &jquery_ui_version "1.13.1"
license: &jquery_ui_license
name: Public Domain
url: https://raw.githubusercontent.com/jquery/jquery-ui/1.12.1/LICENSE.txt
url: https://raw.githubusercontent.com/jquery/jquery-ui/1.13.1/LICENSE.txt
gpl-compatible: true
js:
assets/vendor/jquery.ui/ui/labels-min.js: { weight: -11.7, minified: true }
assets/vendor/jquery.ui/ui/data-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/disable-selection-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/escape-selector-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/focusable-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/form-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/ie-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/jquery-1-7-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/jquery-patch-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/keycode-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/plugin-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/safe-active-element-min.js: { weight: -11.8, minified: true }
@ -928,11 +990,10 @@ jquery.ui.dialog:
assets/vendor/jquery.ui/ui/widgets/mouse-min.js: { weight: -11.7, minified: true }
assets/vendor/jquery.ui/ui/data-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/disable-selection-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/escape-selector-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/focusable-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/form-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/ie-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/jquery-1-7-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/jquery-patch-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/keycode-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/plugin-min.js: { weight: -11.8, minified: true }
assets/vendor/jquery.ui/ui/safe-active-element-min.js: { weight: -11.8, minified: true }
@ -1082,10 +1143,10 @@ picturefill:
assets/vendor/picturefill/picturefill.min.js: { weight: -10, minified: true }
popperjs:
version: "2.10.2"
version: "2.11.5"
license:
name: MIT
url: https://raw.githubusercontent.com/popperjs/popper-core/v2.10.2/LICENSE.md
url: https://raw.githubusercontent.com/popperjs/popper-core/v2.11.5/LICENSE.md
gpl-compatible: true
js:
assets/vendor/popperjs/popper.min.js: { minified: true }
@ -1096,20 +1157,20 @@ popperjs:
sortable:
remote: https://github.com/SortableJS/Sortable
version: "1.14.0"
version: "1.15.0"
license:
name: MIT
url: https://raw.githubusercontent.com/SortableJS/Sortable/1.14.0/LICENSE
url: https://raw.githubusercontent.com/SortableJS/Sortable/1.15.0/LICENSE
gpl-compatible: true
js:
assets/vendor/sortable/Sortable.min.js: { minified: true }
tabbable:
remote: https://github.com/focus-trap/tabbable
version: "5.2.1"
version: "5.3.2"
license:
name: MIT
url: https://raw.githubusercontent.com/focus-trap/tabbable/v5.2.1/LICENSE
url: https://raw.githubusercontent.com/focus-trap/tabbable/v5.3.2/LICENSE
gpl-compatible: true
js:
assets/vendor/tabbable/index.umd.min.js: { weight: -1, minified: true }
@ -1127,14 +1188,32 @@ tabbable.jquery.shim:
underscore:
remote: https://github.com/jashkenas/underscore
version: "1.13.2"
version: "1.13.3"
license:
name: MIT
url: https://raw.githubusercontent.com/jashkenas/underscore/1.13.3/LICENSE
gpl-compatible: true
js:
assets/vendor/underscore/underscore-min.js: { weight: -20, minified: true }
deprecated: The %library_id% asset library is deprecated in Drupal 9.4.0 and will be removed in Drupal 10.0.0.
internal.underscore:
# Internal library. Do not depend on it outside core nor add new core usage.
# The library will be removed as soon as the following issues are fixed:
# - https://www.drupal.org/project/drupal/issues/3270395
# - https://www.drupal.org/project/drupal/issues/3203920
# - https://www.drupal.org/project/drupal/issues/3204011
# - https://www.drupal.org/project/drupal/issues/3204015
remote: https://github.com/jashkenas/underscore
version: "1.13.3"
license:
name: MIT
url: https://raw.githubusercontent.com/jashkenas/underscore/1.13.2/LICENSE
url: https://raw.githubusercontent.com/jashkenas/underscore/1.13.3/LICENSE
gpl-compatible: true
js:
assets/vendor/underscore/underscore-min.js: { weight: -20, minified: true }
drupal.dialog.off_canvas:
version: VERSION
js:
@ -1165,6 +1244,7 @@ drupal.dialog.off_canvas:
- core/drupal.announce
- core/drupal.dialog
- core/drupal.dialog.ajax
- core/drupal.touchevents-test
js-cookie:
remote: https://github.com/js-cookie/js-cookie

35
web/core/core.services.yml

@ -1074,6 +1074,11 @@ services:
class: Drupal\Core\Entity\Enhancer\EntityRouteEnhancer
tags:
- { name: route_enhancer, priority: 20 }
route_enhancer.entity_bundle:
class: Drupal\Core\Entity\Enhancer\EntityBundleRouteEnhancer
arguments: ['@entity_type.manager']
tags:
- { name: route_enhancer }
route_enhancer.entity_revision:
class: Drupal\Core\Routing\Enhancer\EntityRevisionRouteEnhancer
tags:
@ -1224,10 +1229,10 @@ services:
- { name: access_check, needs_incoming_request: TRUE }
maintenance_mode:
class: Drupal\Core\Site\MaintenanceMode
arguments: ['@state']
arguments: ['@state', '@config.factory']
maintenance_mode_subscriber:
class: Drupal\Core\EventSubscriber\MaintenanceModeSubscriber
arguments: ['@maintenance_mode', '@config.factory', '@string_translation', '@url_generator', '@current_user', '@bare_html_page_renderer', '@messenger']
arguments: ['@maintenance_mode', '@config.factory', '@string_translation', '@url_generator', '@current_user', '@bare_html_page_renderer', '@messenger', '@event_dispatcher']
tags:
- { name: event_subscriber }
route_access_response_subscriber:
@ -1281,6 +1286,7 @@ services:
class: Drupal\Core\EventSubscriber\ConfigImportSubscriber
tags:
- { name: event_subscriber }
- { name: service_collector, tag: 'module_install.uninstall_validator', call: addUninstallValidator }
arguments: ['@theme_handler', '@extension.list.module']
config_snapshot_subscriber:
class: Drupal\Core\EventSubscriber\ConfigSnapshotSubscriber
@ -1438,77 +1444,100 @@ services:
- [setContainer, ['@service_container']]
- [setStandalone, ['\Laminas\Feed\Reader\StandaloneExtensionManager']]
arguments: ['feed.reader.']
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use \Laminas\Feed\Reader\StandaloneExtensionManager or create your own service. See https://www.drupal.org/node/3258656
feed.bridge.writer:
class: Drupal\Component\Bridge\ZfExtensionManagerSfContainer
calls:
- [setContainer, ['@service_container']]
- [setStandalone, ['\Laminas\Feed\Writer\StandaloneExtensionManager']]
arguments: ['feed.writer.']
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use \Laminas\Feed\Writer\StandaloneExtensionManager or create your own service. See https://www.drupal.org/node/3258440
# Laminas Feed reader plugins. Plugin instances should not be shared.
feed.reader.dublincoreentry:
class: Laminas\Feed\Reader\Extension\DublinCore\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.reader')->get('DublinCore\Entry') instead. See https://www.drupal.org/node/2979042
feed.reader.dublincorefeed:
class: Laminas\Feed\Reader\Extension\DublinCore\Feed
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.reader')->get('DublinCore\Feed') instead. See https://www.drupal.org/node/2979042
feed.reader.contententry:
class: Laminas\Feed\Reader\Extension\Content\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.reader')->get('Content\Entry') instead. See https://www.drupal.org/node/2979042
feed.reader.atomentry:
class: Laminas\Feed\Reader\Extension\Atom\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.reader')->get('Atom\Entry') instead. See https://www.drupal.org/node/2979042
feed.reader.atomfeed:
class: Laminas\Feed\Reader\Extension\Atom\Feed
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.reader')->get('Atom\Feed') instead. See https://www.drupal.org/node/2979042
feed.reader.slashentry:
class: Laminas\Feed\Reader\Extension\Slash\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.reader')->get('Slash\Entry') instead. See https://www.drupal.org/node/2979042
feed.reader.wellformedwebentry:
class: Laminas\Feed\Reader\Extension\WellFormedWeb\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.reader')->get('WellFormedWeb\Entry') instead. See https://www.drupal.org/node/2979042
feed.reader.threadentry:
class: Laminas\Feed\Reader\Extension\Thread\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.reader')->get('Thread\Entry') instead. See https://www.drupal.org/node/2979042
feed.reader.podcastentry:
class: Laminas\Feed\Reader\Extension\Podcast\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.reader')->get('Podcast\Entry') instead. See https://www.drupal.org/node/2979042
feed.reader.podcastfeed:
class: Laminas\Feed\Reader\Extension\Podcast\Feed
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.reader')->get('Podcast\Feed') instead. See https://www.drupal.org/node/2979042
# Laminas Feed writer plugins. Plugins should be set as prototype scope.
feed.writer.atomrendererfeed:
class: Laminas\Feed\Writer\Extension\Atom\Renderer\Feed
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.writer')->get('Atom\Renderer\Feed') instead. See https://www.drupal.org/node/2979042
feed.writer.contentrendererentry:
class: Laminas\Feed\Writer\Extension\Content\Renderer\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.writer')->get('Content\Renderer\Entry') instead. See https://www.drupal.org/node/2979042
feed.writer.dublincorerendererentry:
class: Laminas\Feed\Writer\Extension\DublinCore\Renderer\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.writer')->get('DublinCore\Renderer\Entry') instead. See https://www.drupal.org/node/2979042
feed.writer.dublincorerendererfeed:
class: Laminas\Feed\Writer\Extension\DublinCore\Renderer\Feed
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.writer')->get('DublinCore\Renderer\Feed') instead. See https://www.drupal.org/node/2979042
feed.writer.itunesentry:
class: Laminas\Feed\Writer\Extension\ITunes\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.writer')->get('ITunes\Entry') instead. See https://www.drupal.org/node/2979042
feed.writer.itunesfeed:
class: Laminas\Feed\Writer\Extension\ITunes\Feed
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.writer')->get('ITunes\Feed') instead. See https://www.drupal.org/node/2979042
feed.writer.itunesrendererentry:
class: Laminas\Feed\Writer\Extension\ITunes\Renderer\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.writer')->get('ITunes\Renderer\Entry') instead. See https://www.drupal.org/node/2979042
feed.writer.itunesrendererfeed:
class: Laminas\Feed\Writer\Extension\ITunes\Renderer\Feed
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.writer')->get('ITunes\Renderer\Feed') instead. See https://www.drupal.org/node/2979042
feed.writer.slashrendererentry:
class: Laminas\Feed\Writer\Extension\Slash\Renderer\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.writer')->get('Slash\Renderer\Entry') instead. See https://www.drupal.org/node/2979042
feed.writer.threadingrendererentry:
class: Laminas\Feed\Writer\Extension\Threading\Renderer\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.writer')->get('Threading\Renderer\Entry') instead. See https://www.drupal.org/node/2979042
feed.writer.wellformedwebrendererentry:
class: Laminas\Feed\Writer\Extension\WellFormedWeb\Renderer\Entry
shared: false
deprecated: The "%service_id%" service is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. You should use \Drupal::service('feed.bridge.writer')->get('WellFormedWeb\Renderer\Entry') instead. See https://www.drupal.org/node/2979042
theme.manager:
class: Drupal\Core\Theme\ThemeManager
arguments: ['%app.root%', '@theme.negotiator', '@theme.initialization', '@module_handler']
@ -1729,6 +1758,8 @@ services:
update.post_update_registry:
class: Drupal\Core\Update\UpdateRegistry
factory: ['@update.post_update_registry_factory', create]
tags:
- { name: event_subscriber }
update.post_update_registry_factory:
class: Drupal\Core\Update\UpdateRegistryFactory
parent: container.trait

7
web/core/includes/bootstrap.inc

@ -43,9 +43,10 @@ const DRUPAL_MINIMUM_PHP = \Drupal::MINIMUM_PHP;
* - An error is shown in the status report that the PHP version is too old.
*
* @deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use
* \Drupal::MINIMUM_SUPPORTED_PHP instead.
* \Drupal\Core\Utility\PhpRequirements::getMinimumSupportedPhp() instead.
*
* @see https://www.drupal.org/node/2909361
* @see https://www.drupal.org/node/3261451
*/
const DRUPAL_MINIMUM_SUPPORTED_PHP = \Drupal::MINIMUM_SUPPORTED_PHP;
@ -317,7 +318,7 @@ function watchdog_exception($type, Exception $exception, $message = NULL, $varia
// Use a default value if $message is not set.
if (empty($message)) {
$message = '%type: @message in %function (line %line of %file).';
$message = Error::DEFAULT_ERROR_MESSAGE;
}
if ($link) {
@ -440,7 +441,7 @@ function drupal_valid_test_ua($new_prefix = NULL) {
}
// The file properties add more entropy not easily accessible to others.
$key = $private_key . filectime(__FILE__) . fileinode(__FILE__);
$time_diff = REQUEST_TIME - $time;
$time_diff = time() - $time;
$test_hmac = Crypt::hmacBase64($check_string, $key);
// Since we are making a local request a 600 second time window is allowed,
// and the HMAC must match.

16
web/core/includes/common.inc

@ -201,9 +201,13 @@ function base_path() {
* @param $data
* (optional) The default data parameter for the JavaScript asset array.
*
* @see hook_js_alter()
* @deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. No direct
* replacement is provided.
*
* @see https://www.drupal.org/node/3197679
*/
function drupal_js_defaults($data = NULL) {
@trigger_error('drupal_js_defaults() is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/3197679', E_USER_DEPRECATED);
return [
'type' => 'file',
'group' => JS_DEFAULT,
@ -530,7 +534,7 @@ function show(&$element) {
* (optional) The Drupal Kernel. It is the caller's responsibility to rebuild
* the container if this is passed in. Sometimes drupal_flush_all_caches is
* used as a batch operation so $kernel will be an array, in this instance it
* will be treated as if it it NULL.
* will be treated as if it is NULL.
*/
function drupal_flush_all_caches($kernel = NULL) {
// This is executed based on old/previously known information if $kernel is
@ -539,7 +543,7 @@ function drupal_flush_all_caches($kernel = NULL) {
$module_handler = \Drupal::moduleHandler();
// Flush all persistent caches.
$module_handler->invokeAll('cache_flush');
foreach (Cache::getBins() as $service_id => $cache_backend) {
foreach (Cache::getBins() as $cache_backend) {
$cache_backend->deleteAll();
}
@ -554,7 +558,9 @@ function drupal_flush_all_caches($kernel = NULL) {
// Wipe the Twig PHP Storage cache.
\Drupal::service('twig')->invalidate();
// Rebuild theme data that is stored in state.
// Rebuild profile, profile, theme_engine and theme data.
\Drupal::service('extension.list.profile')->reset();
\Drupal::service('extension.list.theme_engine')->reset();
\Drupal::service('theme_handler')->refreshInfo();
// In case the active theme gets requested later in the same request we need
// to reset the theme manager.
@ -597,7 +603,7 @@ function drupal_flush_all_caches($kernel = NULL) {
*/
function _drupal_flush_css_js() {
// The timestamp is converted to base 36 in order to make it more compact.
Drupal::state()->set('system.css_js_query_string', base_convert(REQUEST_TIME, 10, 36));
Drupal::state()->set('system.css_js_query_string', base_convert(\Drupal::time()->getRequestTime(), 10, 36));
}
/**

10
web/core/includes/errors.inc

@ -177,7 +177,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
catch (\Exception $e) {
// We can't log, for example because the database connection is not
// available. At least try to log to PHP error log.
error_log(strtr('Failed to log error: %type: @message in %function (line %line of %file). @backtrace_string', $error));
error_log(strtr('Failed to log error: ' . Error::DEFAULT_ERROR_MESSAGE . ' @backtrace_string', $error));
}
}
@ -190,7 +190,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
if ($fatal) {
// When called from CLI, simply output a plain text message.
// Should not translate the string to avoid errors producing more errors.
$response->setContent(html_entity_decode(strip_tags(new FormattableMarkup('%type: @message in %function (line %line of %file).', $error))) . "\n");
$response->setContent(html_entity_decode(strip_tags(new FormattableMarkup(Error::DEFAULT_ERROR_MESSAGE, $error))) . "\n");
$response->send();
exit(1);
}
@ -201,7 +201,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
if (error_displayable($error)) {
// When called from JavaScript, simply output the error message.
// Should not translate the string to avoid errors producing more errors.
$response->setContent(new FormattableMarkup('%type: @message in %function (line %line of %file).', $error));
$response->setContent(new FormattableMarkup(Error::DEFAULT_ERROR_MESSAGE, $error));
$response->send();
}
exit;
@ -240,7 +240,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
// We use \Drupal\Component\Render\FormattableMarkup directly here,
// rather than use t() since we are in the middle of error handling, and
// we don't want t() to cause further errors.
$message = new FormattableMarkup('%type: @message in %function (line %line of %file).', $error);
$message = new FormattableMarkup(Error::DEFAULT_ERROR_MESSAGE, $error);
}
else {
// With verbose logging, we will also include a backtrace.
@ -252,7 +252,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
array_shift($backtrace);
// Generate a backtrace containing only scalar argument values.
$err