Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add allowed_formats 3 (and Drupal 10.1) compatibility #48

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

RobinHoutevelts
Copy link
Contributor

Description

In Drupal 10.1 the main feature of drupal/allowed_formats got added to core.
See https://www.drupal.org/node/3318572

To support it we have to check both the ThirdPartySettings (allowed_formats <= 2.x) and regular field settings (core >= 10.1).

We still check if drupal/allowed_formats is installed to hide the format description.
When https://www.drupal.org/i/3323007 lands, we can also remove that check 🎉

@RobinHoutevelts RobinHoutevelts merged commit 2b45ed6 into main Dec 1, 2023
@RobinHoutevelts RobinHoutevelts deleted the allowed_formats_3 branch December 1, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant