Browse Source

installed allowed_format

bach 2 years ago
parent
commit
9e15f84585

+ 1 - 0
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",

+ 49 - 1
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",

+ 1 - 0
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

+ 5 - 0
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