Browse Source

added fields to CT material, contrib module computed_field, custom module materio_id

Bachir Soussi Chiadmi 5 years ago
parent
commit
89fcefa951
51 changed files with 1691 additions and 41 deletions
  1. 3 1
      composer.json
  2. 138 1
      composer.lock
  3. 10 0
      modules/custom/materio_id/materio_id.info.yml
  4. 85 0
      modules/custom/materio_id/materio_id.module
  5. 22 0
      sites/default/config/sync/core.base_field_override.node.breve.promote.yml
  6. 1 1
      sites/default/config/sync/core.base_field_override.node.materiau.promote.yml
  7. 87 0
      sites/default/config/sync/core.entity_form_display.node.breve.default.yml
  8. 264 33
      sites/default/config/sync/core.entity_form_display.node.materiau.default.yml
  9. 29 0
      sites/default/config/sync/core.entity_view_display.node.breve.default.yml
  10. 31 0
      sites/default/config/sync/core.entity_view_display.node.breve.teaser.yml
  11. 154 0
      sites/default/config/sync/core.entity_view_display.node.materiau.default.yml
  12. 4 0
      sites/default/config/sync/core.extension.yml
  13. 22 0
      sites/default/config/sync/field.field.node.breve.body.yml
  14. 2 2
      sites/default/config/sync/field.field.node.materiau.body.yml
  15. 27 0
      sites/default/config/sync/field.field.node.materiau.field_attachments.yml
  16. 29 0
      sites/default/config/sync/field.field.node.materiau.field_distributor.yml
  17. 21 0
      sites/default/config/sync/field.field.node.materiau.field_famille.yml
  18. 26 0
      sites/default/config/sync/field.field.node.materiau.field_index.yml
  19. 28 0
      sites/default/config/sync/field.field.node.materiau.field_linked_breves.yml
  20. 27 0
      sites/default/config/sync/field.field.node.materiau.field_linked_materials.yml
  21. 29 0
      sites/default/config/sync/field.field.node.materiau.field_manufacturer.yml
  22. 38 0
      sites/default/config/sync/field.field.node.materiau.field_materiau_images.yml
  23. 19 0
      sites/default/config/sync/field.field.node.materiau.field_memo.yml
  24. 22 0
      sites/default/config/sync/field.field.node.materiau.field_migration.yml
  25. 24 0
      sites/default/config/sync/field.field.node.materiau.field_reference.yml
  26. 19 0
      sites/default/config/sync/field.field.node.materiau.field_short_description.yml
  27. 29 0
      sites/default/config/sync/field.field.node.materiau.field_tags.yml
  28. 29 0
      sites/default/config/sync/field.field.node.materiau.field_thesaurus.yml
  29. 25 0
      sites/default/config/sync/field.field.node.materiau.field_video.yml
  30. 22 0
      sites/default/config/sync/field.field.node.materiau.field_workflow.yml
  31. 23 0
      sites/default/config/sync/field.storage.node.field_attachments.yml
  32. 20 0
      sites/default/config/sync/field.storage.node.field_distributor.yml
  33. 51 0
      sites/default/config/sync/field.storage.node.field_famille.yml
  34. 21 0
      sites/default/config/sync/field.storage.node.field_index.yml
  35. 19 0
      sites/default/config/sync/field.storage.node.field_linked_breves.yml
  36. 19 0
      sites/default/config/sync/field.storage.node.field_linked_materials.yml
  37. 20 0
      sites/default/config/sync/field.storage.node.field_manufacturer.yml
  38. 30 0
      sites/default/config/sync/field.storage.node.field_materiau_images.yml
  39. 19 0
      sites/default/config/sync/field.storage.node.field_memo.yml
  40. 22 0
      sites/default/config/sync/field.storage.node.field_migration.yml
  41. 22 0
      sites/default/config/sync/field.storage.node.field_reference.yml
  42. 21 0
      sites/default/config/sync/field.storage.node.field_short_description.yml
  43. 20 0
      sites/default/config/sync/field.storage.node.field_tags.yml
  44. 20 0
      sites/default/config/sync/field.storage.node.field_thesaurus.yml
  45. 19 0
      sites/default/config/sync/field.storage.node.field_video.yml
  46. 22 0
      sites/default/config/sync/field.storage.node.field_workflow.yml
  47. 20 0
      sites/default/config/sync/image.style.video_embed_wysiwyg_preview.yml
  48. 16 0
      sites/default/config/sync/language.content_settings.node.breve.yml
  49. 2 2
      sites/default/config/sync/language.content_settings.node.materiau.yml
  50. 18 0
      sites/default/config/sync/node.type.breve.yml
  51. 1 1
      sites/default/config/sync/node.type.materiau.yml

+ 3 - 1
composer.json

@@ -13,7 +13,9 @@
         "drupal/synonyms": "1.x-dev",
         "drupal/address": "^1.4",
         "drupal/telephone_validation": "^2.1",
-        "drupal/telephone_formatter": "^1.0@beta"
+        "drupal/telephone_formatter": "^1.0@beta",
+        "drupal/video_embed_field": "^2.0",
+        "drupal/computed_field": "^2.0@alpha"
     },
     "replace": {
         "drupal/core": "^8.6"

+ 138 - 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": "108796aaf8d4f0d21b1f86729a2b07b8",
+    "content-hash": "4bbff6f0efab565c22219c3b9b80c43d",
     "packages": [
         {
             "name": "alchemy/zippy",
@@ -2298,6 +2298,81 @@
             },
             "time": "2017-05-23T18:49:48+00:00"
         },
+        {
+            "name": "drupal/computed_field",
+            "version": "2.0.0-alpha4",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupal.org/project/computed_field",
+                "reference": "8.x-2.0-alpha4"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://ftp.drupal.org/files/projects/computed_field-8.x-2.0-alpha4.zip",
+                "reference": "8.x-2.0-alpha4",
+                "shasum": "daf67f2ecbb2785fa3c01416690ac48fd6737c9c"
+            },
+            "require": {
+                "drupal/core": "~8.0"
+            },
+            "type": "drupal-module",
+            "extra": {
+                "branch-alias": {
+                    "dev-2.x": "2.x-dev"
+                },
+                "drupal": {
+                    "version": "8.x-2.0-alpha4",
+                    "datestamp": "1498842542",
+                    "security-coverage": {
+                        "status": "not-covered",
+                        "message": "Alpha releases are not covered by Drupal security advisories."
+                    }
+                }
+            },
+            "notification-url": "https://packages.drupal.org/8/downloads",
+            "license": [
+                "GPL-2.0-or-later"
+            ],
+            "authors": [
+                {
+                    "name": "Agileware",
+                    "homepage": "https://www.drupal.org/user/89106"
+                },
+                {
+                    "name": "Moonshine",
+                    "homepage": "https://www.drupal.org/user/133705"
+                },
+                {
+                    "name": "Pedro Lozano",
+                    "homepage": "https://www.drupal.org/user/123766"
+                },
+                {
+                    "name": "colan",
+                    "homepage": "https://www.drupal.org/user/58704"
+                },
+                {
+                    "name": "dealancer",
+                    "homepage": "https://www.drupal.org/user/243418"
+                },
+                {
+                    "name": "markus_petrux",
+                    "homepage": "https://www.drupal.org/user/39593"
+                },
+                {
+                    "name": "nickcaballero",
+                    "homepage": "https://www.drupal.org/user/588336"
+                },
+                {
+                    "name": "ram4nd",
+                    "homepage": "https://www.drupal.org/user/601534"
+                }
+            ],
+            "description": "Defines a field type that allows values to be \"computed\" via PHP code.",
+            "homepage": "https://www.drupal.org/project/computed_field",
+            "support": {
+                "source": "http://cgit.drupalcode.org/computed_field"
+            }
+        },
         {
             "name": "drupal/config_devel",
             "version": "1.2.0",
@@ -6333,6 +6408,67 @@
                 "source": "http://cgit.drupalcode.org/url_to_video_filter"
             }
         },
+        {
+            "name": "drupal/video_embed_field",
+            "version": "2.0.0",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupal.org/project/video_embed_field",
+                "reference": "8.x-2.0"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://ftp.drupal.org/files/projects/video_embed_field-8.x-2.0.zip",
+                "reference": "8.x-2.0",
+                "shasum": "e864f090b3cb9405376ca324d81ace83613e2019"
+            },
+            "require": {
+                "drupal/core": "*"
+            },
+            "require-dev": {
+                "drupal/colorbox": "*",
+                "drupal/media_entity": "*",
+                "drupal/media_entity_embeddable_video": "*"
+            },
+            "type": "drupal-module",
+            "extra": {
+                "branch-alias": {
+                    "dev-2.x": "2.x-dev"
+                },
+                "drupal": {
+                    "version": "8.x-1.x",
+                    "datestamp": "1523338084",
+                    "security-coverage": {
+                        "status": "covered",
+                        "message": "Covered by Drupal's security advisory policy"
+                    },
+                    "package": "Field types"
+                }
+            },
+            "notification-url": "https://packages.drupal.org/8/downloads",
+            "license": [
+                "GPL-2.0+"
+            ],
+            "authors": [
+                {
+                    "name": "Sam152",
+                    "homepage": "https://www.drupal.org/user/1485048"
+                },
+                {
+                    "name": "jec006",
+                    "homepage": "https://www.drupal.org/user/855980"
+                },
+                {
+                    "name": "plopesc",
+                    "homepage": "https://www.drupal.org/user/282415"
+                }
+            ],
+            "description": "A pluggable field type for storing videos from external video hosts such as Vimeo and YouTube.",
+            "homepage": "https://www.drupal.org/project/video_embed_field",
+            "support": {
+                "source": "http://cgit.drupalcode.org/video_embed_field"
+            }
+        },
         {
             "name": "drupal/views_bulk_edit",
             "version": "2.2.0",
@@ -12101,6 +12237,7 @@
         "drupal/examples": 20,
         "drupal/synonyms": 20,
         "drupal/telephone_formatter": 10,
+        "drupal/computed_field": 15,
         "drupal/advanced_text_formatter": 10,
         "drupal/autocomplete_deluxe": 10,
         "drupal/better_exposed_filters": 15,

+ 10 - 0
modules/custom/materio_id/materio_id.info.yml

@@ -0,0 +1,10 @@
+name: Materio Id
+type: module
+description: "Compute automaticly materials references : <family>-<index>, eg. W-0459."
+core: 8.x
+package: Materio
+dependencies:
+  - computed_field
+
+# config_devel:
+#  install:

+ 85 - 0
modules/custom/materio_id/materio_id.module

@@ -0,0 +1,85 @@
+<?php
+
+
+function computed_field_field_index_compute($entity_type_manager, $entity, $fields, $delta){
+
+  /* FROM D7
+
+  // dsm('-- computed --');
+	// dsm($entity_field, '$entity_field');
+	// dsm($entity_type, '$entity_type');
+	// dsm($entity, '$entity');
+	// dsm($field, '$field');
+	// dsm($instance, '$instance');
+	// dsm($items, '$items');
+
+	// dsm($entity_field[0]['value'], 'entity_field value');
+
+	if (!empty($entity_field[0]['value'])) {  // the node is not new
+
+	  return $entity_field[0]['value'];
+	}
+	else {  // the node is new
+	  // get all same entities in same family
+		$query = new EntityFieldQuery();
+		$query
+			->entityCondition('entity_type', $entity_type)
+			->entityCondition('bundle', $entity->type)
+			->fieldCondition('field_famille', 'value', $entity->field_famille['und'][0]['value']);
+		$result = $query->execute();
+		if(is_array($result[$entity_type])){
+			$entities = entity_load($entity_type, array_keys($result[$entity_type]));
+
+			// get identifiants fo these entities
+			$ids = array();
+			foreach ($entities as $id => $e) {
+				$identifiant = field_view_field($entity_type, $e, 'field_identifiant');
+				$ids[] = $identifiant[0]['#markup'] ? intval($identifiant[0]['#markup']) : 0;
+			}
+			sort($ids);
+
+			$value = strval(array_pop($ids) + 1);
+		}else{
+			$value = '1';
+		}
+
+		// parse the value to a string as 0023 or 4458 or 0001
+		$value_parts = str_split($value);
+		while (count($value_parts) < 4) {
+			array_unshift($value_parts, "0");
+		}
+
+			// record the result
+			$entity_field[0]['value'] = implode('', $value_parts);
+	}
+  */
+}
+
+
+// function computed_field_field_identifiant_display($field, $entity_field_item, $entity_lang = "en", $langcode = "en") {
+// 	return $entity_field_item['value'];
+// }
+
+function computed_field_field_reference_compute($entity_type_manager, $entity, $fields, $delta) {
+
+  /* FROM D7
+
+	// dsm('-- computed --');
+	// 	dsm($entity_field, '$entity_field');
+	// 	dsm($entity_type, '$entity_type');
+	// 	dsm($entity, '$entity');
+	// 	dsm($field, '$field');
+	// 	dsm($instance, '$instance');
+	// 	dsm($items, '$items');
+	if (!empty($entity_field[0]['value'])) {  // the node is not new
+	  return $entity_field[0]['value'];
+	}
+	else {  // the node is new
+		$entity_field[0]['value'] = $entity->field_famille['und'][0]['value'].'-'.$entity->field_identifiant['und'][0]['value'];
+	}
+ */
+}
+
+// function computed_field_field_reference_materio_display($field, $entity_field_item, $entity_lang = "en", $langcode = "en") {
+// 	return $entity_field_item['value'];
+// }

+ 22 - 0
sites/default/config/sync/core.base_field_override.node.breve.promote.yml

@@ -0,0 +1,22 @@
+uuid: 36b77032-7b22-49b4-8e00-6a4c429b3658
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.breve
+id: node.breve.promote
+field_name: promote
+entity_type: node
+bundle: breve
+label: 'Promoted to front page'
+description: ''
+required: false
+translatable: true
+default_value:
+  -
+    value: 0
+default_value_callback: ''
+settings:
+  on_label: 'On'
+  off_label: 'Off'
+field_type: boolean

+ 1 - 1
sites/default/config/sync/core.base_field_override.node.materiau.promote.yml

@@ -14,7 +14,7 @@ required: false
 translatable: false
 default_value:
   -
-    value: 1
+    value: 0
 default_value_callback: ''
 settings:
   on_label: 'On'

+ 87 - 0
sites/default/config/sync/core.entity_form_display.node.breve.default.yml

@@ -0,0 +1,87 @@
+uuid: 32dc4378-bfa0-41ef-934f-52760689a88b
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.field.node.breve.body
+    - node.type.breve
+  module:
+    - path
+    - text
+id: node.breve.default
+targetEntityType: node
+bundle: breve
+mode: default
+content:
+  body:
+    type: text_textarea_with_summary
+    weight: 121
+    settings:
+      rows: 9
+      summary_rows: 3
+      placeholder: ''
+    third_party_settings: {  }
+    region: content
+  created:
+    type: datetime_timestamp
+    weight: 10
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  langcode:
+    type: language_select
+    weight: 2
+    region: content
+    settings:
+      include_locked: true
+    third_party_settings: {  }
+  path:
+    type: path
+    weight: 30
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  promote:
+    type: boolean_checkbox
+    settings:
+      display_label: true
+    weight: 15
+    region: content
+    third_party_settings: {  }
+  status:
+    type: boolean_checkbox
+    settings:
+      display_label: true
+    weight: 120
+    region: content
+    third_party_settings: {  }
+  sticky:
+    type: boolean_checkbox
+    settings:
+      display_label: true
+    weight: 16
+    region: content
+    third_party_settings: {  }
+  title:
+    type: string_textfield
+    weight: -5
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+  uid:
+    type: entity_reference_autocomplete
+    weight: 5
+    settings:
+      match_operator: CONTAINS
+      size: 60
+      placeholder: ''
+    region: content
+    third_party_settings: {  }
+  url_redirects:
+    weight: 50
+    settings: {  }
+    third_party_settings: {  }
+    region: content
+hidden: {  }

+ 264 - 33
sites/default/config/sync/core.entity_form_display.node.materiau.default.yml

@@ -4,10 +4,165 @@ status: true
 dependencies:
   config:
     - field.field.node.materiau.body
+    - field.field.node.materiau.field_attachments
+    - field.field.node.materiau.field_distributor
+    - field.field.node.materiau.field_famille
+    - field.field.node.materiau.field_index
+    - field.field.node.materiau.field_linked_breves
+    - field.field.node.materiau.field_linked_materials
+    - field.field.node.materiau.field_manufacturer
+    - field.field.node.materiau.field_materiau_images
+    - field.field.node.materiau.field_memo
+    - field.field.node.materiau.field_migration
+    - field.field.node.materiau.field_reference
+    - field.field.node.materiau.field_short_description
+    - field.field.node.materiau.field_tags
+    - field.field.node.materiau.field_thesaurus
+    - field.field.node.materiau.field_video
+    - field.field.node.materiau.field_workflow
+    - image.style.thumbnail
     - node.type.materiau
   module:
-    - path
+    - field_group
+    - file
+    - image
     - text
+    - video_embed_field
+    - workflow
+third_party_settings:
+  field_group:
+    group_htabs:
+      children:
+        - group_contenus
+        - group_taxonomy
+        - group_media
+        - group_companies
+        - group_files
+        - group_links
+        - group_samples_showroom
+        - group_internal
+      parent_name: ''
+      weight: 0
+      format_type: tabs
+      format_settings:
+        id: ''
+        classes: ''
+        direction: horizontal
+      label: htabs
+    group_contenus:
+      children:
+        - title
+        - field_short_description
+        - body
+      parent_name: group_htabs
+      weight: 8
+      format_type: tab
+      format_settings:
+        id: ''
+        classes: ''
+        formatter: open
+        description: ''
+        required_fields: true
+      label: Contenus
+    group_taxonomy:
+      children:
+        - field_thesaurus
+        - field_tags
+      parent_name: group_htabs
+      weight: 9
+      format_type: tab
+      format_settings:
+        id: ''
+        classes: ''
+        formatter: closed
+        description: ''
+        required_fields: true
+      label: Taxonomy
+    group_media:
+      children:
+        - field_materiau_images
+        - field_video
+      parent_name: group_htabs
+      weight: 10
+      format_type: tab
+      format_settings:
+        id: ''
+        classes: ''
+        formatter: closed
+        description: ''
+        required_fields: true
+      label: media
+    group_companies:
+      children:
+        - field_manufacturer
+        - field_distributor
+      parent_name: group_htabs
+      weight: 11
+      format_type: tab
+      format_settings:
+        id: ''
+        classes: ''
+        formatter: closed
+        description: ''
+        required_fields: true
+      label: Companies
+    group_files:
+      children:
+        - field_attachments
+      parent_name: group_htabs
+      weight: 12
+      format_type: tab
+      format_settings:
+        id: ''
+        classes: ''
+        formatter: closed
+        description: ''
+        required_fields: true
+      label: Files
+    group_links:
+      children:
+        - field_linked_materials
+        - field_linked_breves
+      parent_name: group_htabs
+      weight: 13
+      format_type: tab
+      format_settings:
+        id: ''
+        classes: ''
+        formatter: closed
+        description: ''
+        required_fields: true
+      label: Links
+    group_samples_showroom:
+      children: {  }
+      parent_name: group_htabs
+      weight: 14
+      format_type: tab
+      format_settings:
+        id: ''
+        classes: ''
+        formatter: closed
+        description: ''
+        required_fields: true
+      label: 'Samples Showroom'
+    group_internal:
+      children:
+        - field_famille
+        - langcode
+        - translation
+        - field_memo
+        - field_workflow
+        - field_migration
+      parent_name: group_htabs
+      weight: 15
+      format_type: tab
+      format_settings:
+        id: ''
+        classes: ''
+        formatter: closed
+        description: ''
+        required_fields: true
+      label: Internal
 id: node.materiau.default
 targetEntityType: node
 bundle: materiau
@@ -15,73 +170,149 @@ mode: default
 content:
   body:
     type: text_textarea_with_summary
-    weight: 121
+    weight: 3
     settings:
       rows: 9
       summary_rows: 3
       placeholder: ''
     third_party_settings: {  }
     region: content
-  created:
-    type: datetime_timestamp
-    weight: 10
-    region: content
-    settings: {  }
+  field_attachments:
+    weight: 17
+    settings:
+      progress_indicator: throbber
     third_party_settings: {  }
-  langcode:
-    type: language_select
-    weight: 2
+    type: file_generic
     region: content
+  field_distributor:
+    weight: 16
     settings:
-      include_locked: true
+      match_operator: CONTAINS
+      size: 60
+      placeholder: ''
     third_party_settings: {  }
-  path:
-    type: path
-    weight: 30
+    type: entity_reference_autocomplete
     region: content
+  field_famille:
+    weight: 26
     settings: {  }
     third_party_settings: {  }
-  promote:
-    type: boolean_checkbox
+    type: options_select
+    region: content
+  field_linked_breves:
+    weight: 19
     settings:
-      display_label: true
-    weight: 15
+      match_operator: CONTAINS
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+    type: entity_reference_autocomplete
     region: content
+  field_linked_materials:
+    weight: 18
+    settings:
+      match_operator: CONTAINS
+      size: 60
+      placeholder: ''
     third_party_settings: {  }
-  status:
-    type: boolean_checkbox
+    type: entity_reference_autocomplete
+    region: content
+  field_manufacturer:
+    weight: 15
     settings:
-      display_label: true
-    weight: 120
+      match_operator: CONTAINS
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+    type: entity_reference_autocomplete
     region: content
+  field_materiau_images:
+    weight: 13
+    settings:
+      progress_indicator: throbber
+      preview_image_style: thumbnail
     third_party_settings: {  }
-  sticky:
-    type: boolean_checkbox
+    type: image_image
+    region: content
+  field_memo:
+    weight: 31
     settings:
-      display_label: true
-    weight: 16
+      rows: 5
+      placeholder: ''
+    third_party_settings: {  }
+    type: string_textarea
     region: content
+  field_migration:
+    weight: 33
+    settings: {  }
+    third_party_settings: {  }
+    type: workflow_default
+    region: content
+  field_short_description:
+    weight: 2
+    settings:
+      size: 60
+      placeholder: ''
     third_party_settings: {  }
-  title:
     type: string_textfield
-    weight: -5
     region: content
+  field_tags:
+    weight: 12
     settings:
+      match_operator: CONTAINS
       size: 60
       placeholder: ''
     third_party_settings: {  }
-  uid:
     type: entity_reference_autocomplete
-    weight: 5
+    region: content
+  field_thesaurus:
+    weight: 11
     settings:
       match_operator: CONTAINS
       size: 60
       placeholder: ''
+    third_party_settings: {  }
+    type: entity_reference_autocomplete
     region: content
+  field_video:
+    weight: 14
+    settings: {  }
     third_party_settings: {  }
-  url_redirects:
-    weight: 50
+    type: video_embed_field_textfield
+    region: content
+  field_workflow:
+    weight: 32
     settings: {  }
     third_party_settings: {  }
+    type: workflow_default
     region: content
-hidden: {  }
+  langcode:
+    type: language_select
+    weight: 29
+    region: content
+    settings:
+      include_locked: true
+    third_party_settings: {  }
+  title:
+    type: string_textfield
+    weight: 1
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+  translation:
+    weight: 30
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+hidden:
+  created: true
+  field_index: true
+  field_reference: true
+  path: true
+  promote: true
+  status: true
+  sticky: true
+  uid: true
+  url_redirects: true

+ 29 - 0
sites/default/config/sync/core.entity_view_display.node.breve.default.yml

@@ -0,0 +1,29 @@
+uuid: f30d4a3a-7911-44ce-b47c-49f2d46d0b1d
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.field.node.breve.body
+    - node.type.breve
+  module:
+    - text
+    - user
+id: node.breve.default
+targetEntityType: node
+bundle: breve
+mode: default
+content:
+  body:
+    label: hidden
+    type: text_default
+    weight: 101
+    settings: {  }
+    third_party_settings: {  }
+    region: content
+  links:
+    weight: 100
+    settings: {  }
+    third_party_settings: {  }
+    region: content
+hidden:
+  langcode: true

+ 31 - 0
sites/default/config/sync/core.entity_view_display.node.breve.teaser.yml

@@ -0,0 +1,31 @@
+uuid: 2ed180c5-f5fc-4d40-b8df-72490058ea59
+langcode: en
+status: true
+dependencies:
+  config:
+    - core.entity_view_mode.node.teaser
+    - field.field.node.breve.body
+    - node.type.breve
+  module:
+    - text
+    - user
+id: node.breve.teaser
+targetEntityType: node
+bundle: breve
+mode: teaser
+content:
+  body:
+    label: hidden
+    type: text_summary_or_trimmed
+    weight: 101
+    settings:
+      trim_length: 600
+    third_party_settings: {  }
+    region: content
+  links:
+    weight: 100
+    settings: {  }
+    third_party_settings: {  }
+    region: content
+hidden:
+  langcode: true

+ 154 - 0
sites/default/config/sync/core.entity_view_display.node.materiau.default.yml

@@ -4,10 +4,31 @@ status: true
 dependencies:
   config:
     - field.field.node.materiau.body
+    - field.field.node.materiau.field_attachments
+    - field.field.node.materiau.field_distributor
+    - field.field.node.materiau.field_famille
+    - field.field.node.materiau.field_index
+    - field.field.node.materiau.field_linked_breves
+    - field.field.node.materiau.field_linked_materials
+    - field.field.node.materiau.field_manufacturer
+    - field.field.node.materiau.field_materiau_images
+    - field.field.node.materiau.field_memo
+    - field.field.node.materiau.field_migration
+    - field.field.node.materiau.field_reference
+    - field.field.node.materiau.field_short_description
+    - field.field.node.materiau.field_tags
+    - field.field.node.materiau.field_thesaurus
+    - field.field.node.materiau.field_video
+    - field.field.node.materiau.field_workflow
     - node.type.materiau
   module:
+    - computed_field
+    - file
+    - image
+    - options
     - text
     - user
+    - video_embed_field
 id: node.materiau.default
 targetEntityType: node
 bundle: materiau
@@ -20,6 +41,139 @@ content:
     settings: {  }
     third_party_settings: {  }
     region: content
+  field_attachments:
+    weight: 109
+    label: above
+    settings:
+      use_description_as_link_text: true
+    third_party_settings: {  }
+    type: file_default
+    region: content
+  field_distributor:
+    weight: 108
+    label: above
+    settings:
+      link: true
+    third_party_settings: {  }
+    type: entity_reference_label
+    region: content
+  field_famille:
+    weight: 113
+    label: above
+    settings: {  }
+    third_party_settings: {  }
+    type: list_default
+    region: content
+  field_index:
+    weight: 114
+    label: above
+    settings:
+      cache_unit: -1
+      cache_duration: 1
+      thousand_separator: ''
+      prefix_suffix: true
+    third_party_settings: {  }
+    type: computed_integer
+    region: content
+  field_linked_breves:
+    weight: 111
+    label: above
+    settings:
+      link: true
+    third_party_settings: {  }
+    type: entity_reference_label
+    region: content
+  field_linked_materials:
+    weight: 110
+    label: above
+    settings:
+      link: true
+    third_party_settings: {  }
+    type: entity_reference_label
+    region: content
+  field_manufacturer:
+    weight: 107
+    label: above
+    settings:
+      link: true
+    third_party_settings: {  }
+    type: entity_reference_label
+    region: content
+  field_materiau_images:
+    weight: 105
+    label: above
+    settings:
+      image_style: ''
+      image_link: ''
+    third_party_settings: {  }
+    type: image
+    region: content
+  field_memo:
+    weight: 112
+    label: above
+    settings: {  }
+    third_party_settings: {  }
+    type: basic_string
+    region: content
+  field_migration:
+    weight: 117
+    label: above
+    settings: {  }
+    third_party_settings: {  }
+    type: list_default
+    region: content
+  field_reference:
+    weight: 115
+    label: above
+    settings:
+      sanitized: true
+      cache_unit: -1
+      cache_duration: 1
+    third_party_settings: {  }
+    type: computed_string
+    region: content
+  field_short_description:
+    weight: 102
+    label: above
+    settings:
+      link_to_entity: false
+    third_party_settings: {  }
+    type: string
+    region: content
+  field_tags:
+    weight: 104
+    label: above
+    settings:
+      link: true
+    third_party_settings: {  }
+    type: entity_reference_label
+    region: content
+  field_thesaurus:
+    weight: 103
+    label: above
+    settings:
+      link: true
+    third_party_settings: {  }
+    type: entity_reference_label
+    region: content
+  field_video:
+    weight: 106
+    label: above
+    settings:
+      responsive: true
+      width: 854
+      height: 480
+      autoplay: true
+    third_party_settings: {  }
+    type: video_embed_field_video
+    region: content
+  field_workflow:
+    weight: 116
+    label: above
+    settings: {  }
+    third_party_settings: {  }
+    type: list_default
+    region: content
   links:
     weight: 100
     settings: {  }

+ 4 - 0
sites/default/config/sync/core.extension.yml

@@ -16,6 +16,7 @@ module:
   breakpoint: 0
   bulkdelete: 0
   ckeditor: 0
+  computed_field: 0
   config: 0
   config_devel: 0
   config_filter: 0
@@ -62,6 +63,7 @@ module:
   locale: 0
   maillog: 0
   mailsystem: 0
+  materio_id: 0
   materio_migrate: 0
   matomo: 0
   maxlength: 0
@@ -101,6 +103,8 @@ module:
   update: 0
   url_to_video_filter: 0
   user: 0
+  video_embed_field: 0
+  video_embed_wysiwyg: 0
   views_bulk_edit: 0
   views_bulk_operations: 0
   views_ui: 0

+ 22 - 0
sites/default/config/sync/field.field.node.breve.body.yml

@@ -0,0 +1,22 @@
+uuid: d949ee80-2458-4c0a-9c93-913cc6298dbb
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.body
+    - node.type.breve
+  module:
+    - text
+id: node.breve.body
+field_name: body
+entity_type: node
+bundle: breve
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings:
+  display_summary: true
+field_type: text_with_summary

+ 2 - 2
sites/default/config/sync/field.field.node.materiau.body.yml

@@ -11,10 +11,10 @@ id: node.materiau.body
 field_name: body
 entity_type: node
 bundle: materiau
-label: Body
+label: Description
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings:

+ 27 - 0
sites/default/config/sync/field.field.node.materiau.field_attachments.yml

@@ -0,0 +1,27 @@
+uuid: 66de1ad0-aef4-43a8-b01b-0a254b16dea1
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_attachments
+    - node.type.materiau
+  module:
+    - file
+id: node.materiau.field_attachments
+field_name: field_attachments
+entity_type: node
+bundle: materiau
+label: Attachments
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  file_directory: '[date:custom:Y]-[date:custom:m]'
+  file_extensions: 'txt pdf doc docx'
+  max_filesize: ''
+  description_field: true
+  handler: 'default:file'
+  handler_settings: {  }
+field_type: file

+ 29 - 0
sites/default/config/sync/field.field.node.materiau.field_distributor.yml

@@ -0,0 +1,29 @@
+uuid: c5bc9c4c-634c-4146-8b9f-652a686a0c79
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_distributor
+    - node.type.materiau
+    - taxonomy.vocabulary.company
+id: node.materiau.field_distributor
+field_name: field_distributor
+entity_type: node
+bundle: materiau
+label: Distributor
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:taxonomy_term'
+  handler_settings:
+    target_bundles:
+      company: company
+    sort:
+      field: name
+      direction: asc
+    auto_create: false
+    auto_create_bundle: ''
+field_type: entity_reference

+ 21 - 0
sites/default/config/sync/field.field.node.materiau.field_famille.yml

@@ -0,0 +1,21 @@
+uuid: 4c81e03f-b5d4-49ad-a23e-92742ac8662e
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_famille
+    - node.type.materiau
+  module:
+    - options
+id: node.materiau.field_famille
+field_name: field_famille
+entity_type: node
+bundle: materiau
+label: Famille
+description: ''
+required: true
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: list_string

+ 26 - 0
sites/default/config/sync/field.field.node.materiau.field_index.yml

@@ -0,0 +1,26 @@
+uuid: b397d3d5-4404-436d-9845-aec9226aca45
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_index
+    - node.type.materiau
+  module:
+    - computed_field
+id: node.materiau.field_index
+field_name: field_index
+entity_type: node
+bundle: materiau
+label: Index
+description: ''
+required: false
+translatable: false
+default_value:
+  -
+    value: 0
+default_value_callback: ''
+settings:
+  code: '$value = 0;'
+  prefix: ''
+  suffix: ''
+field_type: computed_integer

+ 28 - 0
sites/default/config/sync/field.field.node.materiau.field_linked_breves.yml

@@ -0,0 +1,28 @@
+uuid: 425009b5-c252-4263-b84a-f97312269ba9
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_linked_breves
+    - node.type.breve
+    - node.type.materiau
+id: node.materiau.field_linked_breves
+field_name: field_linked_breves
+entity_type: node
+bundle: materiau
+label: 'Linked Brèves'
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:node'
+  handler_settings:
+    target_bundles:
+      breve: breve
+    sort:
+      field: _none
+    auto_create: false
+    auto_create_bundle: ''
+field_type: entity_reference

+ 27 - 0
sites/default/config/sync/field.field.node.materiau.field_linked_materials.yml

@@ -0,0 +1,27 @@
+uuid: 31a1f08e-504f-4795-8d79-19380b4f10ba
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_linked_materials
+    - node.type.materiau
+id: node.materiau.field_linked_materials
+field_name: field_linked_materials
+entity_type: node
+bundle: materiau
+label: 'Linked Materials'
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:node'
+  handler_settings:
+    target_bundles:
+      materiau: materiau
+    sort:
+      field: _none
+    auto_create: false
+    auto_create_bundle: ''
+field_type: entity_reference

+ 29 - 0
sites/default/config/sync/field.field.node.materiau.field_manufacturer.yml

@@ -0,0 +1,29 @@
+uuid: 058aaee9-c274-4ba6-92b7-e685695dd07c
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_manufacturer
+    - node.type.materiau
+    - taxonomy.vocabulary.company
+id: node.materiau.field_manufacturer
+field_name: field_manufacturer
+entity_type: node
+bundle: materiau
+label: Manufacturer
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:taxonomy_term'
+  handler_settings:
+    target_bundles:
+      company: company
+    sort:
+      field: name
+      direction: asc
+    auto_create: false
+    auto_create_bundle: ''
+field_type: entity_reference

+ 38 - 0
sites/default/config/sync/field.field.node.materiau.field_materiau_images.yml

@@ -0,0 +1,38 @@
+uuid: 5ce21733-eec0-4689-aa4b-6594306233b2
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_materiau_images
+    - node.type.materiau
+  module:
+    - image
+id: node.materiau.field_materiau_images
+field_name: field_materiau_images
+entity_type: node
+bundle: materiau
+label: Images
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  file_directory: materiaux
+  file_extensions: 'png gif jpg jpeg'
+  max_filesize: ''
+  max_resolution: ''
+  min_resolution: ''
+  alt_field: true
+  alt_field_required: false
+  title_field: true
+  title_field_required: false
+  default_image:
+    uuid: ''
+    alt: ''
+    title: ''
+    width: null
+    height: null
+  handler: 'default:file'
+  handler_settings: {  }
+field_type: image

+ 19 - 0
sites/default/config/sync/field.field.node.materiau.field_memo.yml

@@ -0,0 +1,19 @@
+uuid: 176edb86-e8e8-43f6-8d1a-5256bd232df7
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_memo
+    - node.type.materiau
+id: node.materiau.field_memo
+field_name: field_memo
+entity_type: node
+bundle: materiau
+label: Memo
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string_long

+ 22 - 0
sites/default/config/sync/field.field.node.materiau.field_migration.yml

@@ -0,0 +1,22 @@
+uuid: a5c7c4a2-77fc-45dc-810c-9b24ce496ea0
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_migration
+    - node.type.materiau
+  module:
+    - workflow
+id: node.materiau.field_migration
+field_name: field_migration
+entity_type: node
+bundle: materiau
+label: Migration
+description: ''
+required: true
+translatable: false
+default_value:
+  - {  }
+default_value_callback: ''
+settings: {  }
+field_type: workflow

+ 24 - 0
sites/default/config/sync/field.field.node.materiau.field_reference.yml

@@ -0,0 +1,24 @@
+uuid: 3ce409a1-b3a7-4324-b984-8e2f0f3cc3da
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_reference
+    - node.type.materiau
+  module:
+    - computed_field
+id: node.materiau.field_reference
+field_name: field_reference
+entity_type: node
+bundle: materiau
+label: Reference
+description: ''
+required: false
+translatable: false
+default_value:
+  -
+    value: ''
+default_value_callback: ''
+settings:
+  code: '$value = '''';'
+field_type: computed_string

+ 19 - 0
sites/default/config/sync/field.field.node.materiau.field_short_description.yml

@@ -0,0 +1,19 @@
+uuid: 81b59029-55ec-403a-ab7c-e38887cb297b
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_short_description
+    - node.type.materiau
+id: node.materiau.field_short_description
+field_name: field_short_description
+entity_type: node
+bundle: materiau
+label: 'Short description'
+description: ''
+required: false
+translatable: true
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 29 - 0
sites/default/config/sync/field.field.node.materiau.field_tags.yml

@@ -0,0 +1,29 @@
+uuid: 70696e2a-ac97-434c-b2f6-d96fed1db3c5
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_tags
+    - node.type.materiau
+    - taxonomy.vocabulary.tags
+id: node.materiau.field_tags
+field_name: field_tags
+entity_type: node
+bundle: materiau
+label: Tags
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:taxonomy_term'
+  handler_settings:
+    target_bundles:
+      tags: tags
+    sort:
+      field: name
+      direction: asc
+    auto_create: false
+    auto_create_bundle: ''
+field_type: entity_reference

+ 29 - 0
sites/default/config/sync/field.field.node.materiau.field_thesaurus.yml

@@ -0,0 +1,29 @@
+uuid: bba7e4c9-b114-4683-8f36-5eebbca8b2f9
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_thesaurus
+    - node.type.materiau
+    - taxonomy.vocabulary.thesaurus
+id: node.materiau.field_thesaurus
+field_name: field_thesaurus
+entity_type: node
+bundle: materiau
+label: Thesaurus
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:taxonomy_term'
+  handler_settings:
+    target_bundles:
+      thesaurus: thesaurus
+    sort:
+      field: name
+      direction: asc
+    auto_create: false
+    auto_create_bundle: ''
+field_type: entity_reference

+ 25 - 0
sites/default/config/sync/field.field.node.materiau.field_video.yml

@@ -0,0 +1,25 @@
+uuid: b4529ab3-2c6f-486a-9dce-8f1d057d1fc6
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_video
+    - node.type.materiau
+  module:
+    - video_embed_field
+id: node.materiau.field_video
+field_name: field_video
+entity_type: node
+bundle: materiau
+label: Video
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  allowed_providers:
+    youtube: youtube
+    vimeo: vimeo
+    youtube_playlist: '0'
+field_type: video_embed_field

+ 22 - 0
sites/default/config/sync/field.field.node.materiau.field_workflow.yml

@@ -0,0 +1,22 @@
+uuid: 814628f0-4595-41ee-9fed-008d712cad5d
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_workflow
+    - node.type.materiau
+  module:
+    - workflow
+id: node.materiau.field_workflow
+field_name: field_workflow
+entity_type: node
+bundle: materiau
+label: Workflow
+description: ''
+required: true
+translatable: false
+default_value:
+  - {  }
+default_value_callback: ''
+settings: {  }
+field_type: workflow

+ 23 - 0
sites/default/config/sync/field.storage.node.field_attachments.yml

@@ -0,0 +1,23 @@
+uuid: a3bc26e9-f470-4795-96a9-22c9316d5f2c
+langcode: en
+status: true
+dependencies:
+  module:
+    - file
+    - node
+id: node.field_attachments
+field_name: field_attachments
+entity_type: node
+type: file
+settings:
+  display_field: true
+  display_default: true
+  uri_scheme: public
+  target_type: file
+module: file
+locked: false
+cardinality: -1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 20 - 0
sites/default/config/sync/field.storage.node.field_distributor.yml

@@ -0,0 +1,20 @@
+uuid: f537e452-dfe0-4b02-a850-7d08c495958d
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+    - taxonomy
+id: node.field_distributor
+field_name: field_distributor
+entity_type: node
+type: entity_reference
+settings:
+  target_type: taxonomy_term
+module: core
+locked: false
+cardinality: -1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 51 - 0
sites/default/config/sync/field.storage.node.field_famille.yml

@@ -0,0 +1,51 @@
+uuid: 7f1420be-6967-465b-8901-27d7d83488db
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+    - options
+id: node.field_famille
+field_name: field_famille
+entity_type: node
+type: list_string
+settings:
+  allowed_values:
+    -
+      value: W
+      label: 'Bois (W)'
+    -
+      value: T
+      label: 'Textile (T)'
+    -
+      value: R
+      label: 'Plastique (R)'
+    -
+      value: P
+      label: 'Papier (P)'
+    -
+      value: C
+      label: 'Composite (C)'
+    -
+      value: M
+      label: 'Métal (M)'
+    -
+      value: F
+      label: 'Céramique (F)'
+    -
+      value: G
+      label: 'Verre (G)'
+    -
+      value: S
+      label: 'Béton/Pierre (S)'
+    -
+      value: O
+      label: 'Autre (O)'
+  allowed_values_function: ''
+module: options
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 21 - 0
sites/default/config/sync/field.storage.node.field_index.yml

@@ -0,0 +1,21 @@
+uuid: 2e33a2bf-7c5a-49de-bbce-0261dd055cd6
+langcode: en
+status: true
+dependencies:
+  module:
+    - computed_field
+    - node
+id: node.field_index
+field_name: field_index
+entity_type: node
+type: computed_integer
+settings:
+  unsigned: false
+  size: normal
+module: computed_field
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 19 - 0
sites/default/config/sync/field.storage.node.field_linked_breves.yml

@@ -0,0 +1,19 @@
+uuid: 1bd9e923-1f84-4de4-a1eb-86186b9bd7ea
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+id: node.field_linked_breves
+field_name: field_linked_breves
+entity_type: node
+type: entity_reference
+settings:
+  target_type: node
+module: core
+locked: false
+cardinality: -1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 19 - 0
sites/default/config/sync/field.storage.node.field_linked_materials.yml

@@ -0,0 +1,19 @@
+uuid: b8938b6a-e127-4173-b568-04fb26f3ed85
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+id: node.field_linked_materials
+field_name: field_linked_materials
+entity_type: node
+type: entity_reference
+settings:
+  target_type: node
+module: core
+locked: false
+cardinality: -1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 20 - 0
sites/default/config/sync/field.storage.node.field_manufacturer.yml

@@ -0,0 +1,20 @@
+uuid: 31b7a9e3-0644-43d8-8de1-9a9925880c12
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+    - taxonomy
+id: node.field_manufacturer
+field_name: field_manufacturer
+entity_type: node
+type: entity_reference
+settings:
+  target_type: taxonomy_term
+module: core
+locked: false
+cardinality: -1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 30 - 0
sites/default/config/sync/field.storage.node.field_materiau_images.yml

@@ -0,0 +1,30 @@
+uuid: edd5f32c-fd35-4e3e-b59e-cba0e84ebd5a
+langcode: en
+status: true
+dependencies:
+  module:
+    - file
+    - image
+    - node
+id: node.field_materiau_images
+field_name: field_materiau_images
+entity_type: node
+type: image
+settings:
+  uri_scheme: public
+  default_image:
+    uuid: ''
+    alt: ''
+    title: ''
+    width: null
+    height: null
+  target_type: file
+  display_field: false
+  display_default: false
+module: image
+locked: false
+cardinality: -1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 19 - 0
sites/default/config/sync/field.storage.node.field_memo.yml

@@ -0,0 +1,19 @@
+uuid: 93ea6afd-e793-4db3-b38e-9e3da508b63f
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+id: node.field_memo
+field_name: field_memo
+entity_type: node
+type: string_long
+settings:
+  case_sensitive: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 22 - 0
sites/default/config/sync/field.storage.node.field_migration.yml

@@ -0,0 +1,22 @@
+uuid: 1bb279d4-be78-4279-9f6d-4fbe6dab0eb7
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+    - workflow
+id: node.field_migration
+field_name: field_migration
+entity_type: node
+type: workflow
+settings:
+  workflow_type: migration
+  allowed_values: {  }
+  allowed_values_function: ''
+module: workflow
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 22 - 0
sites/default/config/sync/field.storage.node.field_reference.yml

@@ -0,0 +1,22 @@
+uuid: 9e9ecf81-474c-44a5-b90e-0c69becb24b1
+langcode: en
+status: true
+dependencies:
+  module:
+    - computed_field
+    - node
+id: node.field_reference
+field_name: field_reference
+entity_type: node
+type: computed_string
+settings:
+  max_length: '255'
+  is_ascii: false
+  case_sensitive: false
+module: computed_field
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 21 - 0
sites/default/config/sync/field.storage.node.field_short_description.yml

@@ -0,0 +1,21 @@
+uuid: 1cf87bc4-5a5d-44ef-b593-700c8b729bd5
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+id: node.field_short_description
+field_name: field_short_description
+entity_type: node
+type: string
+settings:
+  max_length: 255
+  is_ascii: false
+  case_sensitive: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 20 - 0
sites/default/config/sync/field.storage.node.field_tags.yml

@@ -0,0 +1,20 @@
+uuid: 1eff57a7-79f6-4b9a-be4c-674d2cc9f378
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+    - taxonomy
+id: node.field_tags
+field_name: field_tags
+entity_type: node
+type: entity_reference
+settings:
+  target_type: taxonomy_term
+module: core
+locked: false
+cardinality: -1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 20 - 0
sites/default/config/sync/field.storage.node.field_thesaurus.yml

@@ -0,0 +1,20 @@
+uuid: c78d94bf-7fac-4846-9527-3bd805d91275
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+    - taxonomy
+id: node.field_thesaurus
+field_name: field_thesaurus
+entity_type: node
+type: entity_reference
+settings:
+  target_type: taxonomy_term
+module: core
+locked: false
+cardinality: -1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 19 - 0
sites/default/config/sync/field.storage.node.field_video.yml

@@ -0,0 +1,19 @@
+uuid: b4173746-0c56-46de-adf9-f2ce57530d62
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+    - video_embed_field
+id: node.field_video
+field_name: field_video
+entity_type: node
+type: video_embed_field
+settings: {  }
+module: video_embed_field
+locked: false
+cardinality: -1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 22 - 0
sites/default/config/sync/field.storage.node.field_workflow.yml

@@ -0,0 +1,22 @@
+uuid: 43fb0b57-cbee-46d4-8599-47e36f7024c4
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+    - workflow
+id: node.field_workflow
+field_name: field_workflow
+entity_type: node
+type: workflow
+settings:
+  workflow_type: workflow
+  allowed_values: {  }
+  allowed_values_function: ''
+module: workflow
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 20 - 0
sites/default/config/sync/image.style.video_embed_wysiwyg_preview.yml

@@ -0,0 +1,20 @@
+uuid: eb26938e-bfd2-44eb-8428-898d612cfcce
+langcode: en
+status: true
+dependencies:
+  enforced:
+    module:
+      - video_embed_wysiwyg
+_core:
+  default_config_hash: eQ9aeNMJhpII0KPnOnS9JWMGgHLrMrmY3yDBuwswS4I
+name: video_embed_wysiwyg_preview
+label: 'Video Embed Wysiwyg: Thumbnail Preview'
+effects:
+  ba339f97-d07b-476d-9058-6c86c78329a1:
+    uuid: ba339f97-d07b-476d-9058-6c86c78329a1
+    id: image_scale
+    weight: 1
+    data:
+      width: null
+      height: 270
+      upscale: false

+ 16 - 0
sites/default/config/sync/language.content_settings.node.breve.yml

@@ -0,0 +1,16 @@
+uuid: 2829ca32-e233-4cae-8ac7-1bde3553be69
+langcode: en
+status: true
+dependencies:
+  config:
+    - node.type.breve
+  module:
+    - content_translation
+third_party_settings:
+  content_translation:
+    enabled: true
+id: node.breve
+target_entity_type_id: node
+target_bundle: breve
+default_langcode: site_default
+language_alterable: true

+ 2 - 2
sites/default/config/sync/language.content_settings.node.materiau.yml

@@ -8,11 +8,11 @@ dependencies:
     - content_translation
 third_party_settings:
   content_translation:
-    enabled: false
+    enabled: true
     bundle_settings:
       untranslatable_fields_hide: '0'
 id: node.materiau
 target_entity_type_id: node
 target_bundle: materiau
 default_langcode: site_default
-language_alterable: false
+language_alterable: true

+ 18 - 0
sites/default/config/sync/node.type.breve.yml

@@ -0,0 +1,18 @@
+uuid: 6dc0b52d-41f2-46f4-8b67-824fc9a57ce3
+langcode: en
+status: true
+dependencies:
+  module:
+    - menu_ui
+third_party_settings:
+  menu_ui:
+    available_menus:
+      - main
+    parent: 'main:'
+name: Brève
+type: breve
+description: ''
+help: ''
+new_revision: false
+preview_mode: 1
+display_submitted: false

+ 1 - 1
sites/default/config/sync/node.type.materiau.yml

@@ -12,6 +12,6 @@ name: Materiau
 type: materiau
 description: ''
 help: ''
-new_revision: true
+new_revision: false
 preview_mode: 1
 display_submitted: false