From 9e15f84585277bb53029d00a17340875e0dd1f6f Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 10 Nov 2021 21:30:10 +0100 Subject: [PATCH] installed allowed_format --- composer.json | 1 + composer.lock | 50 ++++++++++++++++++- config/sync/core.extension.yml | 1 + ...field.field.node.simplenews_issue.body.yml | 5 ++ 4 files changed, 56 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d8095c6..f1a67cb 100644 --- a/composer.json +++ b/composer.json @@ -64,6 +64,7 @@ "composer/installers": "^1.2", "drupal/admin_theme": "1.x-dev@dev", "drupal/advagg": "4.x-dev@dev", + "drupal/allowed_formats": "^1.3", "drupal/amswap": "^3.0", "drupal/audiofield": "^1.10", "drupal/auto_entitylabel": "^2.x-dev", diff --git a/composer.lock b/composer.lock index 9d74ccf..c3c9267 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": "b9423bcc7260475d9321acd9c7113f28", + "content-hash": "1d278ca9e14fb742e7c46911820260ea", "packages": [ { "name": "alchemy/zippy", @@ -3137,6 +3137,54 @@ "source": "https://git.drupalcode.org/project/advancedqueue" } }, + { + "name": "drupal/allowed_formats", + "version": "1.3.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/allowed_formats.git", + "reference": "8.x-1.3" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/allowed_formats-8.x-1.3.zip", + "reference": "8.x-1.3", + "shasum": "4c3c036d7b41428d6e22b61f1219de0ab012feec" + }, + "require": { + "drupal/core": "^8.7.7 || ^9" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.3", + "datestamp": "1592909219", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "floretan", + "homepage": "https://www.drupal.org/user/66163" + }, + { + "name": "nord102", + "homepage": "https://www.drupal.org/user/3471419" + } + ], + "description": "Limit which text formats are available for each field instance.", + "homepage": "https://www.drupal.org/project/allowed_formats", + "support": { + "source": "https://git.drupalcode.org/project/allowed_formats" + } + }, { "name": "drupal/amswap", "version": "3.1.0", diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 59a9c69..6e54b25 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -7,6 +7,7 @@ module: advagg: 0 advanced_text_formatter: 0 advancedqueue: 0 + allowed_formats: 0 amswap: 0 anonymizer: 0 audiofield: 0 diff --git a/config/sync/field.field.node.simplenews_issue.body.yml b/config/sync/field.field.node.simplenews_issue.body.yml index a2c005f..b2ec850 100644 --- a/config/sync/field.field.node.simplenews_issue.body.yml +++ b/config/sync/field.field.node.simplenews_issue.body.yml @@ -6,12 +6,17 @@ dependencies: - field.storage.node.body - node.type.simplenews_issue module: + - allowed_formats - text - unique_content_field_validation third_party_settings: unique_content_field_validation: unique: false unique_text: '' + allowed_formats: + wysiwyg: wysiwyg + full_html: full_html + plain_text: plain_text _core: default_config_hash: WmXguLYedqjDlEM-2yau5wACNAMvrbCVHXQUn4GQEDA id: node.simplenews_issue.body