Allow to upgrade Allowed Formats module to ~3.0 with migration to Drupal ~10 in Varbase Layout Builder

Created on 12 November 2023, about 1 year ago
Updated 12 December 2023, about 1 year ago

Problem/Motivation

🐛 Remove Allowed Formats module, as it was added in Drupal ~10.1.0 core Fixed
#3276206: Fix default config for Allowed Formats in the Varbase Rich text and HTML code block types

Since Drupal 10.1.0, limiting the text formats per field instance is a feature provided by Drupal core. Read https://www.drupal.org/node/3318572 for details.

In the 3.x branch of this module this feature has been removed as obsolete, but the module provide an update path from existing sites to move the allowed formats, as they were stored by the previous versions of the module, to Drupal >=10.1.0 way, in field settings.

The module provides also a feature that allows site builders to hide the formatted text format help and guidelines. Even this feature is still preserved in the 3.x module branch, there is an issue that aims to move it in Drupal core in the future. See https://www.drupal.org/i/3323007 .

Having the Allowed Formats module in dependencies:, with old configs
With old config.

Proposed resolution

  • Change drupal/allowed_formats to ~1.0 || ~2.0 || ~3.0 in the composer.josn file.
  • Remove - allowed_formats:allowed_formats from dependencies:
  • Have allowed_formats in the install: as a temp for upgrades only

Remaining tasks

  • ✅ 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
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.17 , varbase_layout_builder-9.0.38 , varbase_layout_builder-10.0.40

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3401085 : Allowed to upgrade Allowed Formats module to ~3.0 with migration to Drupal ~10 in Varbase Layout Builder
📌 Task
Status

Fixed

Version

9.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

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

Comments & Activities

Production build 0.71.5 2024