Allowed formats are in Drupal 10.1 now, add an upgrade path

Created on 29 November 2022, about 2 years ago
Updated 6 September 2023, over 1 year ago

Problem/Motivation

Allow text field to enforce a specific text format Fixed finally landed in core.

As commented there in #299, this module should provide an upgrade path now. I see that D10 compatibility was releases as a new major version, that wasn't actually required, it's fine in regards to BC and semver to increase min version of requirements as long as your own API doesn't change.

It's a little bit awkward now, because for this, it really does make sense to have a new major version. So we have a major version for exactly one minor core version :) The idea is to remove all code related to the allowed formats setting and add an update function that moves existing configuration to the core setting.

For extra awkwardness, not all functionality of this module is in core yet, see Add an option to 'hide filter tips' on text fields Needs work , so we can't remove that yet unless we also get that issue into core for 10.1.

Steps to reproduce

Proposed resolution

  1. Create an upgrade path for a site builder to migrate their allowed formats settings into Drupal core's settings
  2. Remove the allowed formats feature from this contributed module.
  3. Rename the module to Hide format info (former Allowed Formats)
  4. Update the project description to Hides info about the selected text format. The 'allowed formats' functionality has been moved in core since Drupal 10.1.0.
  5. Update the README.md explaining these changes.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇨🇭Switzerland berdir Switzerland

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.

Production build 0.71.5 2024