Drupal 10 compatibility (4.x)

Created on 6 March 2022, over 2 years ago
Updated 30 October 2023, about 1 year ago

Problem/Motivation

I fixed some deprecated issues. There are some issues still not fix, can someone help to fix them or suggest me how to fix.

19 warnings found.

themes/bootstrap/src/Plugin/Alter/ThemeRegistry.php:
┌──────────┬──────┬───────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                          MESSAGE                          │
├──────────┼──────┼───────────────────────────────────────────────────────────┤
│ Check    │ 23   │ Class Drupal\bootstrap\Plugin\Alter\ThemeRegistry extends │
│ manually │      │ @internal class Drupal\Core\Theme\Registry.               │
│          │      │                                                           │
└──────────┴──────┴───────────────────────────────────────────────────────────┘

themes/bootstrap/src/Plugin/Markdown/AllowedHtml/Bootstrap.php:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                          MESSAGE                           │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check    │      │ Class Drupal\markdown\Plugin\Markdown\AllowedHtmlInterface │
│ manually │      │ not found.                                                 │
│          │      │                                                            │
│ Check    │ 18   │ Class Drupal\markdown\Plugin\Markdown\AllowedHtmlInterface │
│ manually │      │ not found.                                                 │
│          │      │                                                            │
└──────────┴──────┴────────────────────────────────────────────────────────────┘

themes/bootstrap/src/Plugin/ProcessManager.php:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                          MESSAGE                           │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check    │ 81   │ Call to deprecated method getInlineElementTypes() of class │
│ manually │      │ Drupal\bootstrap\Plugin\ProcessManager. Deprecated in      │
│          │      │ bootstrap:8.x-3.21 and is removed from bootstrap:8.x-4.0.  │
│          │      │ This method will be removed when process managers can be   │
│          │      │ sub-classed.                                               │
│          │      │                                                            │
└──────────┴──────┴────────────────────────────────────────────────────────────┘

themes/bootstrap/src/Plugin/Provider/ProviderBase.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                            │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check    │ 212  │ Call to deprecated method getAssets() of class               │
│ manually │      │ Drupal\bootstrap\Plugin\Provider\ProviderBase. Deprecated in │
│          │      │ 8.x-3.18, will be removed in a future release.               │
│          │      │                                                              │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

themes/bootstrap/src/Plugin/ProviderManager.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                            │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check    │ 70   │ Call to deprecated method processDefinition() of class       │
│ manually │      │ Drupal\bootstrap\Plugin\Provider\ProviderInterface.          │
│          │      │ Deprecated in 8.x-3.18, will be removed in a future release. │
│          │      │ There is no replacement for this functionality.              │
│          │      │                                                              │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

themes/bootstrap/src/Plugin/Setting/Advanced/Cdn/CdnProvider.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                            │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check    │ 282  │ Call to deprecated method getApi() of class                  │
│ manually │      │ Drupal\bootstrap\Plugin\Provider\ProviderInterface.          │
│          │      │ Deprecated in 8.x-3.18, will be removed in a future release. │
│          │      │ There is no replacement for this functionality.              │
│          │      │                                                              │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

themes/bootstrap/bootstrap.libraries.yml:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                            │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check    │ 0    │ The 'theme-settings' library is depending on a deprecated    │
│ manually │      │ library. The core/jquery.once asset library is deprecated in │
│          │      │ Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the   │
│          │      │ core/once library instead. See                               │
│          │      │ https://www.drupal.org/node/3158256                          │
│          │      │                                                              │
│ Check    │ 0    │ The 'modal.jquery.ui.bridge' library is depending on a       │
│ manually │      │ deprecated library. The "core/jquery.ui" asset library is    │
│          │      │ deprecated in drupal:9.2.0 and is removed from               │
│          │      │ drupal:10.0.0. See https://www.drupal.org/node/3067969       │
│          │      │                                                              │
│ Check    │ 0    │ The 'modal.jquery.ui.bridge' library is depending on a       │
│ manually │      │ deprecated library. The "core/jquery.ui.widget" asset        │
│          │      │ library is deprecated in drupal:9.2.0 and is removed from    │
│          │      │ drupal:10.0.0. See https://www.drupal.org/node/3067969       │
│          │      │                                                              │
│ Check    │ 0    │ The 'modal.jquery.ui.bridge' library is depending on a       │
│ manually │      │ deprecated library. The "core/jquery.ui.draggable" asset     │
│          │      │ library is deprecated in drupal:9.2.0 and is removed from    │
│          │      │ drupal:10.0.0. See https://www.drupal.org/node/3067969       │
│          │      │                                                              │
│ Check    │ 0    │ The 'modal.jquery.ui.bridge' library is depending on a       │
│ manually │      │ deprecated library. The "core/jquery.ui.mouse" asset library │
│          │      │ is deprecated in drupal:9.2.0 and is removed from            │
│          │      │ drupal:10.0.0. See https://www.drupal.org/node/3067969       │
│          │      │                                                              │
│ Check    │ 0    │ The 'modal.jquery.ui.bridge' library is depending on a       │
│ manually │      │ deprecated library. The "core/jquery.ui.position" asset      │
│          │      │ library is deprecated in drupal:9.2.0 and is removed from    │
│          │      │ drupal:10.0.0. See https://www.drupal.org/node/3067969       │
│          │      │                                                              │
│ Check    │ 0    │ The 'modal.jquery.ui.bridge' library is depending on a       │
│ manually │      │ deprecated library. The "core/jquery.ui.resizable" asset     │
│          │      │ library is deprecated in drupal:9.2.0 and is removed from    │
│          │      │ drupal:10.0.0. See https://www.drupal.org/node/3067969       │
│          │      │                                                              │
│ Check    │ 0    │ The 'drupal.batch' library is depending on a deprecated      │
│ manually │      │ library. The core/jquery.once asset library is deprecated in │
│          │      │ Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the   │
│          │      │ core/once library instead. See                               │
│          │      │ https://www.drupal.org/node/3158256                          │
│          │      │                                                              │
│ Check    │ 0    │ The 'drupal.filter' library is depending on a deprecated     │
│ manually │      │ library. The core/jquery.once asset library is deprecated in │
│          │      │ Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the   │
│          │      │ core/once library instead. See                               │
│          │      │ https://www.drupal.org/node/3158256                          │
│          │      │                                                              │
│ Check    │ 0    │ The 'drupal.text' library is depending on a deprecated       │
│ manually │      │ library. The core/jquery.once asset library is deprecated in │
│          │      │ Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the   │
│          │      │ core/once library instead. See                               │
│          │      │ https://www.drupal.org/node/3158256                          │
│          │      │                                                              │
│ Check    │ 0    │ The 'drupal.vertical-tabs' library is depending on a         │
│ manually │      │ deprecated library. The core/jquery.once asset library is    │
│          │      │ deprecated in Drupal 9.3.0 and will be removed in Drupal     │
│          │      │ 10.0.0. Use the core/once library instead. See               │
│          │      │ https://www.drupal.org/node/3158256                          │
│          │      │                                                              │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

bootstrap.info.yml:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                          MESSAGE                           │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check    │ 0    │ The 'image_widget_crop/cropper.integration' library is not │
│ manually │      │ defined because the defining extension is not installed.   │
│          │      │ Cannot decide if it is deprecated or not.                  │
│          │      │                                                            │
└──────────┴──────┴────────────────────────────────────────────────────────────┘
💬 Support request
Status

Closed: won't fix

Version

4.0

Component

Code

Created by

🇻🇳Vietnam phthlaap

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India kavitha@specbee.com

    Verified with the Upgrade Status module in D9. It is compatible but it has still 18 problems. Attaching screenshots for reference.

    Check manually
    Errors without Drupal source version numbers including parse errors and use of APIs from dependencies.
    File name	Line	Error
    themes/contrib/bootstrap/src/Plugin/Alter/ThemeRegistry.php	21	Class Drupal\bootstrap\Plugin\Alter\ThemeRegistry extends @internal class Drupal\Core\Theme\Registry.
    themes/contrib/bootstrap/src/Plugin/ProcessManager.php	81	Call to deprecated method getInlineElementTypes() of class Drupal\bootstrap\Plugin\ProcessManager. Deprecated in bootstrap:8.x-3.21 and is removed from bootstrap:8.x-4.0. This method will be removed when process managers can be sub-classed.
    themes/contrib/bootstrap/src/Plugin/Provider/ProviderBase.php	212	Call to deprecated method getAssets() of class Drupal\bootstrap\Plugin\Provider\ProviderBase. Deprecated in 8.x-3.18, will be removed in a future release.
    themes/contrib/bootstrap/src/Plugin/ProviderManager.php	70	Call to deprecated method processDefinition() of class Drupal\bootstrap\Plugin\Provider\ProviderInterface. Deprecated in 8.x-3.18, will be removed in a future release. There is no replacement for this functionality.
    themes/contrib/bootstrap/src/Plugin/Setting/Advanced/Cdn/CdnProvider.php	282	Call to deprecated method getApi() of class Drupal\bootstrap\Plugin\Provider\ProviderInterface. Deprecated in 8.x-3.18, will be removed in a future release. There is no replacement for this functionality.
    themes/contrib/bootstrap/bootstrap.libraries.yml	0	The 'attributes' library is depending on a deprecated library. The core/underscore asset library is deprecated in Drupal 9.4.0 and will be removed in Drupal 10.0.0.
    themes/contrib/bootstrap/bootstrap.libraries.yml	0	The 'theme-settings' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
    themes/contrib/bootstrap/bootstrap.libraries.yml	0	The 'modal.jquery.ui.bridge' library is depending on a deprecated library. The "core/jquery.ui" asset library is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3067969
    themes/contrib/bootstrap/bootstrap.libraries.yml	0	The 'modal.jquery.ui.bridge' library is depending on a deprecated library. The "core/jquery.ui.widget" asset library is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3067969
    themes/contrib/bootstrap/bootstrap.libraries.yml	0	The 'modal.jquery.ui.bridge' library is depending on a deprecated library. The "core/jquery.ui.draggable" asset library is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3067969
    themes/contrib/bootstrap/bootstrap.libraries.yml	0	The 'modal.jquery.ui.bridge' library is depending on a deprecated library. The "core/jquery.ui.mouse" asset library is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3067969
    themes/contrib/bootstrap/bootstrap.libraries.yml	0	The 'modal.jquery.ui.bridge' library is depending on a deprecated library. The "core/jquery.ui.position" asset library is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3067969
    themes/contrib/bootstrap/bootstrap.libraries.yml	0	The 'modal.jquery.ui.bridge' library is depending on a deprecated library. The "core/jquery.ui.resizable" asset library is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3067969
    themes/contrib/bootstrap/bootstrap.libraries.yml	0	The 'drupal.batch' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
    themes/contrib/bootstrap/bootstrap.libraries.yml	0	The 'drupal.filter' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
    themes/contrib/bootstrap/bootstrap.libraries.yml	0	The 'drupal.text' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
    themes/contrib/bootstrap/bootstrap.libraries.yml	0	The 'drupal.vertical-tabs' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
    bootstrap.info.yml	0	The 'image_widget_crop/cropper.integration' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not.
  • Status changed to Closed: won't fix about 1 year ago
  • 🇺🇸United States shelane

    This theme will not be supported for Bootstrap 4. See alternative themes for this support.

Production build 0.71.5 2024