- Issue created by @project update bot
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module → , even with these changes, this module is not yet compatible with Drupal 11.
Currently Drupal Rector, version 0.20.1, cannot fix all Drupal 11 compatibility problems.
Therefore these changes did not update the
info.yml
file for Drupal 11 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #11-120024This patch was created using these packages:
- drupal/upgrade_status: 4.1.0
- mglaman/phpstan-drupal: 1.2.7
- palantirnet/drupal-rector: 0.20.1
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module → these changes make this module compatible with Drupal 11! 🎉
Therefore these changes update theinfo.yml
file for Drupal 11 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #11-120835This patch was created using these packages:
- drupal/upgrade_status: 4.1.0
- mglaman/phpstan-drupal: 1.2.7
- palantirnet/drupal-rector: 0.20.1
- First commit to issue fork.
- 🇺🇦Ukraine AstonVictor
Hi @trickfun,
you should use the dev version for now - composer require 'drupal/breadcrumb_extra_field:3.0.x-dev@dev'
thanks - 🇪🇸Spain albeorte
There are more changes related to the upgrade to Drupal 11.
When going to the Settings form, on a Drupal 11 site, the following error is reported:
ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/html/web/modules/contrib/breadcrumb_extra_field/src/Form/BreadcrumbExtraFieldSettingsForm.php on line 43 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of core/lib/Drupal/Core/Form/ConfigFormBase.php).
This error is a consequence of the explanation in the following Core issue. -> https://www.drupal.org/node/3404140 →
I have created the following patch, which will serve as a solution for those who have installed the development version "3.0.x-dev@dev".
The roadmap will be as follows:
- Stop supporting the 2.x branch.
- Release stable version for branch 3.x (3.0.0), which will be compatible with Drupal 9 and 10.
- Release new branch 4.x, and version (4.0.0), which will be compatible with Drupal 10 and 11.
- 🇪🇸Spain albeorte
Steps to check the correct operation:
- Install version “4.0.0-rc1” on a Drupal 11 site 2:
composer require 'drupal/breadcrumb_extra_field:^4.0@RC'
- Check the module functionalities
- Install version “4.0.0-rc1” on a Drupal 11 site 2:
- 🇪🇸Spain antonio.nunez Spain
I have tested version 4.0.0-rc1 of the module on environments running Drupal 11 as well as post-10 versions, such as Drupal 10.5, and everything works as expected.
Configuration, export functionality, and visualizations behave correctly with no issues or warnings detected.
I believe the module is ready for a stable release. Great work!