Drupla 11 compatibility

Created on 3 February 2025, 2 months ago

Problem/Motivation

Add compatibility with Drupal 11

Proposed resolution

Solve pending errors:

Content Browser 8.x-1.1
Scanned on Mon, 01/27/2025 - 14:06.

3 warnings found.

modules/contrib/content_browser/content_browser.install:
+--------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status | line | message                                                                                                                                                                                                                |
+--------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Ignore | 21   | Fetching deprecated class constant EXISTS_REPLACE of
interface Drupal\Core\File\FileSystemInterface. Deprecated
in drupal:10.3.0 and is removed from drupal:12.0.0. Use
Drupal\Core\File\FileExists::Replace instead.
 |
+--------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
modules/contrib/content_browser/src/Plugin/Block/ContentEmbedBlock.php:
+----------------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status         | line | message                                                                                                                                                                                                                                                          |
+----------------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 244  | Relying on entity queries to check access by default is
deprecated in drupal:9.2.0 and an error will be thrown from
drupal:10.0.0. Call
\Drupal\Core\Entity\Query\QueryInterface::accessCheck() with
TRUE or FALSE to specify whether access should be checked.
 |
+----------------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
modules/contrib/content_browser/config/install/views.view.content_browser.yml:
+----------------+------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status         | line | message                                                                                                                                                                                          |
+----------------+------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 385  | Support from all Views contextual filter settings for the
default_argument_skip_url setting is removed from
drupal:11.0.0. No replacement is provided. See
https://www.drupal.org/node/3382316.
 |
+----------------+------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
modules/contrib/content_browser/content_browser.info.yml:
+----------------+------+--------------------------------------------------------------------------------------------------------------------------------------------------------+
| status         | line | message                                                                                                                                                |
+----------------+------+--------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 5    | Value of core_version_requirement: ^8 | ^9 | ^10 is not
compatible with the next major version of Drupal core. See
https://drupal.org/node/3070687.
 |
+----------------+------+--------------------------------------------------------------------------------------------------------------------------------------------------------+


--------------------------------------------------------------------------------
πŸ“Œ Task
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain eduardo morales alberti Spain, πŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024