Browse Source

enabled content_as_config

bach 1 year ago
parent
commit
2b18aaf412
4 changed files with 119 additions and 83 deletions
  1. 1 1
      composer.json
  2. 66 82
      composer.lock
  3. 51 0
      config/sync/content_as_config.block_content.yml
  4. 1 0
      config/sync/core.extension.yml

+ 1 - 1
composer.json

@@ -16,12 +16,12 @@
     ],
     ],
     "require": {
     "require": {
         "composer/installers": "^2.0",
         "composer/installers": "^2.0",
+        "drupal/content_as_config": "^1.0",
         "drupal/core-composer-scaffold": "^10.1",
         "drupal/core-composer-scaffold": "^10.1",
         "drupal/core-project-message": "^10.1",
         "drupal/core-project-message": "^10.1",
         "drupal/core-recommended": "^10.1",
         "drupal/core-recommended": "^10.1",
         "drupal/linked_field": "^1.5",
         "drupal/linked_field": "^1.5",
         "drupal/page_manager": "^4.0@RC",
         "drupal/page_manager": "^4.0@RC",
-        "drupal/structure_sync": "^2.0",
         "wikimedia/composer-merge-plugin": "^2.1"
         "wikimedia/composer-merge-plugin": "^2.1"
     },
     },
     "conflict": {
     "conflict": {

+ 66 - 82
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
         "This file is @generated automatically"
     ],
     ],
-    "content-hash": "c3928c7423d5cd515cdd45ef1f337f09",
+    "content-hash": "6f7bb41c95f4533d58bfab814ac15a11",
     "packages": [
     "packages": [
         {
         {
             "name": "asm89/stack-cors",
             "name": "asm89/stack-cors",
@@ -2569,6 +2569,71 @@
                 "source": "https://git.drupalcode.org/project/config_update"
                 "source": "https://git.drupalcode.org/project/config_update"
             }
             }
         },
         },
+        {
+            "name": "drupal/content_as_config",
+            "version": "1.0.10",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupalcode.org/project/content_as_config.git",
+                "reference": "1.0.10"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://ftp.drupal.org/files/projects/content_as_config-1.0.10.zip",
+                "reference": "1.0.10",
+                "shasum": "3ed5dd56486a98b6832eb6fea257792d5af145b4"
+            },
+            "require": {
+                "drupal/core": "^9.3 || ^10"
+            },
+            "conflict": {
+                "drupal/structure_sync": "*"
+            },
+            "require-dev": {
+                "drupal/feeds": "*",
+                "drupal/group": "*"
+            },
+            "suggest": {
+                "drupal/markdown": "Render module help more elegantly."
+            },
+            "type": "drupal-module",
+            "extra": {
+                "drupal": {
+                    "version": "1.0.10",
+                    "datestamp": "1665066743",
+                    "security-coverage": {
+                        "status": "covered",
+                        "message": "Covered by Drupal's security advisory policy"
+                    }
+                },
+                "drush": {
+                    "services": {
+                        "drush.services.yml": "^9"
+                    }
+                }
+            },
+            "notification-url": "https://packages.drupal.org/8/downloads",
+            "license": [
+                "GPL-2.0-or-later"
+            ],
+            "authors": [
+                {
+                    "name": "Daniel Johnson (daniel_j)",
+                    "homepage": "https://www.drupal.org/u/daniel_j",
+                    "role": "Maintainer"
+                }
+            ],
+            "description": "Allows content entities to be exported/imported as configuration.",
+            "homepage": "https://drupal.org/project/content_as_config",
+            "keywords": [
+                "Configuration",
+                "Drupal"
+            ],
+            "support": {
+                "source": "https://git.drupalcode.org/project/content_as_config",
+                "issues": "https://www.drupal.org/project/issues/content_as_config"
+            }
+        },
         {
         {
             "name": "drupal/content_lock",
             "name": "drupal/content_lock",
             "version": "2.3.0",
             "version": "2.3.0",
@@ -6140,87 +6205,6 @@
                 "source": "https://git.drupalcode.org/project/sophron"
                 "source": "https://git.drupalcode.org/project/sophron"
             }
             }
         },
         },
-        {
-            "name": "drupal/structure_sync",
-            "version": "2.0.5",
-            "source": {
-                "type": "git",
-                "url": "https://git.drupalcode.org/project/structure_sync.git",
-                "reference": "2.0.5"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://ftp.drupal.org/files/projects/structure_sync-2.0.5.zip",
-                "reference": "2.0.5",
-                "shasum": "eb744625ba3a8caf731dc7406b29797c8416f744"
-            },
-            "require": {
-                "drupal/core": "^8 || ^9 || ^10",
-                "php": ">=7.1"
-            },
-            "require-dev": {
-                "drush/drush": "^9 || ^10 || ^11"
-            },
-            "type": "drupal-module",
-            "extra": {
-                "drupal": {
-                    "version": "2.0.5",
-                    "datestamp": "1681378126",
-                    "security-coverage": {
-                        "status": "covered",
-                        "message": "Covered by Drupal's security advisory policy"
-                    }
-                },
-                "drush": {
-                    "services": {
-                        "drush.services.yml": "^9 || ^10 || ^11"
-                    }
-                }
-            },
-            "notification-url": "https://packages.drupal.org/8/downloads",
-            "license": [
-                "GPL-2.0-or-later"
-            ],
-            "authors": [
-                {
-                    "name": "colan",
-                    "homepage": "https://www.drupal.org/user/58704"
-                },
-                {
-                    "name": "fidovdbos",
-                    "homepage": "https://www.drupal.org/user/1494332"
-                },
-                {
-                    "name": "joachim",
-                    "homepage": "https://www.drupal.org/user/107701"
-                },
-                {
-                    "name": "louis-cuny",
-                    "homepage": "https://www.drupal.org/user/3606332"
-                },
-                {
-                    "name": "mparker17",
-                    "homepage": "https://www.drupal.org/user/536298"
-                },
-                {
-                    "name": "spiderman",
-                    "homepage": "https://www.drupal.org/user/1631"
-                },
-                {
-                    "name": "timKruijsen",
-                    "homepage": "https://www.drupal.org/user/3513437"
-                },
-                {
-                    "name": "vinlaurens",
-                    "homepage": "https://www.drupal.org/user/2945689"
-                }
-            ],
-            "description": "Tool for syncing structural data that is stored as content.",
-            "homepage": "https://www.drupal.org/project/structure_sync",
-            "support": {
-                "source": "https://git.drupalcode.org/project/structure_sync"
-            }
-        },
         {
         {
             "name": "drupal/synonyms",
             "name": "drupal/synonyms",
             "version": "2.1.2",
             "version": "2.1.2",

+ 51 - 0
config/sync/content_as_config.block_content.yml

@@ -0,0 +1,51 @@
+0f466d17-17b0-4d5a-8453-982b4ddcc2bf:
+  uuid: 0f466d17-17b0-4d5a-8453-982b4ddcc2bf
+  id: '3'
+  info: Contacts
+  langcode: fr
+  type: node_block
+  reusable: '1'
+  fields:
+    field_node:
+      -
+        target_id: '2'
+734a55bb-b11d-4498-bb55-5a6cb1924aa8:
+  uuid: 734a55bb-b11d-4498-bb55-5a6cb1924aa8
+  id: '4'
+  info: 'Logo ministère'
+  langcode: fr
+  type: logo_link
+  reusable: '1'
+  fields:
+    field_lien:
+      -
+        uri: 'http://reha.figli.io'
+        title: ''
+        options: {  }
+    field_logo:
+      -
+        target_id: '3'
+        alt: 'Ministère de la transition écologique et de la cohésion des territoires'
+        title: ''
+        width: '1584'
+        height: '1319'
+6aedcd97-72c8-4328-b52d-f4d2a5285b96:
+  uuid: 6aedcd97-72c8-4328-b52d-f4d2a5285b96
+  id: '5'
+  info: 'Logo reha'
+  langcode: fr
+  type: logo_link
+  reusable: '1'
+  fields:
+    field_lien:
+      -
+        uri: 'http://reha.figli.io'
+        title: ''
+        options: {  }
+    field_logo:
+      -
+        target_id: '4'
+        alt: 'Programme Reha Héritages'
+        title: ''
+        width: '3000'
+        height: '3000'

+ 1 - 0
config/sync/core.extension.yml

@@ -23,6 +23,7 @@ module:
   config_translation: 0
   config_translation: 0
   config_update: 0
   config_update: 0
   contact: 0
   contact: 0
+  content_as_config: 0
   content_lock: 0
   content_lock: 0
   content_lock_timeout: 0
   content_lock_timeout: 0
   context: 0
   context: 0