Loading
fix: #3627197 Drop core calls removed or deprecated in Drupal 12
Issue: https://www.drupal.org/project/webdashboard/issues/3627197
SystemInfo::getCounter():RequirementSeverity::convertLegacyIntSeveritiesToEnums()is removed in Drupal 12. Requirements already come as enums; a legacy integer from a contrib module on Drupal 11 is mapped withRequirementSeverity::from().update_get_available()stays: it still exists on Drupal 12, and Drupal 11.4 has no service replacement for it.- The branch was already red before this MR: Display Builder 1.0.0-beta8 added
DisplayBuildableInterface::getTranslationLanguages(), so both buildables were fatal. They now return the default language only (dashboards are not translated in Display Builder). DashboardUiTest: Drupal 12 has no Olivero or Claro. The test now uses Stark for the front end and Claro (11) or Default Admin (12) for the back end.- CI: opt in to the next-major and max-PHP jobs.
AI-Generated: Yes
Checkpoints
- File an issue about this project
- Addition/Change/Update/Fix to this project
- Testing to ensure no regression
- Automated unit/functional testing coverage
- Developer Documentation support on feature change/addition
- User Guide Documentation support on feature change/addition
- UX/UI designer responsibilities
- Accessibility and Readability
- Reviewed by a human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Update Release Notes
- Release
Edited by Rajab Natshah