diff --git a/composer.json b/composer.json index 2a478fb..5438875 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "composer/installers": "^1.12", "cweagans/composer-patches": "^1.7", "drupal/admin_denied": "^2.0", - "drupal/allowed_formats": "^2.0", + "drupal/allowed_formats": "^3", "drupal/amazon_ses": "^3.0", "drupal/bcc": "^4", "drupal/classy": "^1.0", diff --git a/composer.lock b/composer.lock index 6427b85..1681c0f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "21d49cbae1928ec0f1b73a9c04a47d4f", + "content-hash": "52177ad92d4f55dd87a8c69d28f0077a", "packages": [ { "name": "asm89/stack-cors", @@ -2369,26 +2369,29 @@ }, { "name": "drupal/allowed_formats", - "version": "2.0.0", + "version": "3.0.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/allowed_formats.git", - "reference": "2.0.0" + "reference": "3.0.0" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/allowed_formats-2.0.0.zip", - "reference": "2.0.0", - "shasum": "ac6c6d398f303608ced7e9cd9d4556a728dc41f0" + "url": "https://ftp.drupal.org/files/projects/allowed_formats-3.0.0.zip", + "reference": "3.0.0", + "shasum": "1dad855db0e12fa3cdef8ca4e3bfc98f89090490" }, "require": { - "drupal/core": "^9.2 || ^10" + "drupal/core": "^10.1" + }, + "conflict": { + "drupal/core": "<10.1.0" }, "type": "drupal-module", "extra": { "drupal": { - "version": "2.0.0", - "datestamp": "1669170410", + "version": "3.0.0", + "datestamp": "1693983469", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -2421,7 +2424,7 @@ "role": "Maintainer" } ], - "description": "Limit which text formats are available for each field instance.", + "description": "Hides info about the selected text format. The 'allowed formats' functionality has been moved to core since Drupal 10.1.0.", "homepage": "https://www.drupal.org/project/allowed_formats", "support": { "source": "http://cgit.drupalcode.org/allowed_formats", @@ -2562,7 +2565,7 @@ "shasum": "5cda4ba5f9f5ed0a94914dc4a9bd501208ae553f" }, "require": { - "drupal/core": "^9 || ^10" + "drupal/core": "^10" }, "type": "drupal-module", "extra": { @@ -3860,7 +3863,7 @@ "shasum": "fc8ea60619b6b4682bade340e13fb4565d3a7e0c" }, "require": { - "drupal/core": "^9.1 || ^10" + "drupal/core": "^10" }, "type": "drupal-module", "extra": { diff --git a/config/field.field.paragraph.text.field_media_content_text.yml b/config/field.field.paragraph.text.field_media_content_text.yml index a49e135..cc7d284 100644 --- a/config/field.field.paragraph.text.field_media_content_text.yml +++ b/config/field.field.paragraph.text.field_media_content_text.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.paragraph.field_media_content_text + - filter.format.filtered_html - paragraphs.paragraphs_type.text module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - filtered_html id: paragraph.text.field_media_content_text field_name: field_media_content_text entity_type: paragraph @@ -22,5 +18,7 @@ required: true translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - filtered_html field_type: text_long