From 89fcefa951dcc58e46637cbd4fcce27795c2008d Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Tue, 11 Dec 2018 15:11:11 +0100 Subject: [PATCH] added fields to CT material, contrib module computed_field, custom module materio_id --- composer.json | 4 +- composer.lock | 139 +++++++- modules/custom/materio_id/materio_id.info.yml | 10 + modules/custom/materio_id/materio_id.module | 85 +++++ ...base_field_override.node.breve.promote.yml | 22 ++ ...e_field_override.node.materiau.promote.yml | 2 +- ...entity_form_display.node.breve.default.yml | 87 +++++ ...ity_form_display.node.materiau.default.yml | 337 +++++++++++++++--- ...entity_view_display.node.breve.default.yml | 29 ++ ....entity_view_display.node.breve.teaser.yml | 31 ++ ...ity_view_display.node.materiau.default.yml | 154 ++++++++ sites/default/config/sync/core.extension.yml | 4 + .../sync/field.field.node.breve.body.yml | 22 ++ .../sync/field.field.node.materiau.body.yml | 4 +- ....field.node.materiau.field_attachments.yml | 27 ++ ....field.node.materiau.field_distributor.yml | 29 ++ ...ield.field.node.materiau.field_famille.yml | 21 ++ .../field.field.node.materiau.field_index.yml | 26 ++ ...ield.node.materiau.field_linked_breves.yml | 28 ++ ...d.node.materiau.field_linked_materials.yml | 27 ++ ...field.node.materiau.field_manufacturer.yml | 29 ++ ...ld.node.materiau.field_materiau_images.yml | 38 ++ .../field.field.node.materiau.field_memo.yml | 19 + ...ld.field.node.materiau.field_migration.yml | 22 ++ ...ld.field.node.materiau.field_reference.yml | 24 ++ ....node.materiau.field_short_description.yml | 19 + .../field.field.node.materiau.field_tags.yml | 29 ++ ...ld.field.node.materiau.field_thesaurus.yml | 29 ++ .../field.field.node.materiau.field_video.yml | 25 ++ ...eld.field.node.materiau.field_workflow.yml | 22 ++ .../field.storage.node.field_attachments.yml | 23 ++ .../field.storage.node.field_distributor.yml | 20 ++ .../sync/field.storage.node.field_famille.yml | 51 +++ .../sync/field.storage.node.field_index.yml | 21 ++ ...field.storage.node.field_linked_breves.yml | 19 + ...ld.storage.node.field_linked_materials.yml | 19 + .../field.storage.node.field_manufacturer.yml | 20 ++ ...eld.storage.node.field_materiau_images.yml | 30 ++ .../sync/field.storage.node.field_memo.yml | 19 + .../field.storage.node.field_migration.yml | 22 ++ .../field.storage.node.field_reference.yml | 22 ++ ...d.storage.node.field_short_description.yml | 21 ++ .../sync/field.storage.node.field_tags.yml | 20 ++ .../field.storage.node.field_thesaurus.yml | 20 ++ .../sync/field.storage.node.field_video.yml | 19 + .../field.storage.node.field_workflow.yml | 22 ++ ...mage.style.video_embed_wysiwyg_preview.yml | 20 ++ .../language.content_settings.node.breve.yml | 16 + ...anguage.content_settings.node.materiau.yml | 4 +- sites/default/config/sync/node.type.breve.yml | 18 + .../config/sync/node.type.materiau.yml | 2 +- 51 files changed, 1711 insertions(+), 61 deletions(-) create mode 100644 modules/custom/materio_id/materio_id.info.yml create mode 100644 modules/custom/materio_id/materio_id.module create mode 100644 sites/default/config/sync/core.base_field_override.node.breve.promote.yml create mode 100644 sites/default/config/sync/core.entity_form_display.node.breve.default.yml create mode 100644 sites/default/config/sync/core.entity_view_display.node.breve.default.yml create mode 100644 sites/default/config/sync/core.entity_view_display.node.breve.teaser.yml create mode 100644 sites/default/config/sync/field.field.node.breve.body.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_attachments.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_distributor.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_famille.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_index.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_linked_breves.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_linked_materials.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_manufacturer.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_materiau_images.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_memo.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_migration.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_reference.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_short_description.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_tags.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_thesaurus.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_video.yml create mode 100644 sites/default/config/sync/field.field.node.materiau.field_workflow.yml create mode 100644 sites/default/config/sync/field.storage.node.field_attachments.yml create mode 100644 sites/default/config/sync/field.storage.node.field_distributor.yml create mode 100644 sites/default/config/sync/field.storage.node.field_famille.yml create mode 100644 sites/default/config/sync/field.storage.node.field_index.yml create mode 100644 sites/default/config/sync/field.storage.node.field_linked_breves.yml create mode 100644 sites/default/config/sync/field.storage.node.field_linked_materials.yml create mode 100644 sites/default/config/sync/field.storage.node.field_manufacturer.yml create mode 100644 sites/default/config/sync/field.storage.node.field_materiau_images.yml create mode 100644 sites/default/config/sync/field.storage.node.field_memo.yml create mode 100644 sites/default/config/sync/field.storage.node.field_migration.yml create mode 100644 sites/default/config/sync/field.storage.node.field_reference.yml create mode 100644 sites/default/config/sync/field.storage.node.field_short_description.yml create mode 100644 sites/default/config/sync/field.storage.node.field_tags.yml create mode 100644 sites/default/config/sync/field.storage.node.field_thesaurus.yml create mode 100644 sites/default/config/sync/field.storage.node.field_video.yml create mode 100644 sites/default/config/sync/field.storage.node.field_workflow.yml create mode 100644 sites/default/config/sync/image.style.video_embed_wysiwyg_preview.yml create mode 100644 sites/default/config/sync/language.content_settings.node.breve.yml create mode 100644 sites/default/config/sync/node.type.breve.yml diff --git a/composer.json b/composer.json index 2be7d369..c3d998d9 100644 --- a/composer.json +++ b/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" diff --git a/composer.lock b/composer.lock index f709f3e4..c7c7b46e 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": "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, diff --git a/modules/custom/materio_id/materio_id.info.yml b/modules/custom/materio_id/materio_id.info.yml new file mode 100644 index 00000000..8bebc447 --- /dev/null +++ b/modules/custom/materio_id/materio_id.info.yml @@ -0,0 +1,10 @@ +name: Materio Id +type: module +description: "Compute automaticly materials references : -, eg. W-0459." +core: 8.x +package: Materio +dependencies: + - computed_field + +# config_devel: +# install: diff --git a/modules/custom/materio_id/materio_id.module b/modules/custom/materio_id/materio_id.module new file mode 100644 index 00000000..7c62cee0 --- /dev/null +++ b/modules/custom/materio_id/materio_id.module @@ -0,0 +1,85 @@ +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']; +// } diff --git a/sites/default/config/sync/core.base_field_override.node.breve.promote.yml b/sites/default/config/sync/core.base_field_override.node.breve.promote.yml new file mode 100644 index 00000000..ca241167 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/core.base_field_override.node.materiau.promote.yml b/sites/default/config/sync/core.base_field_override.node.materiau.promote.yml index c167f313..be9d565b 100644 --- a/sites/default/config/sync/core.base_field_override.node.materiau.promote.yml +++ b/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' diff --git a/sites/default/config/sync/core.entity_form_display.node.breve.default.yml b/sites/default/config/sync/core.entity_form_display.node.breve.default.yml new file mode 100644 index 00000000..0b7e65f6 --- /dev/null +++ b/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: { } diff --git a/sites/default/config/sync/core.entity_form_display.node.materiau.default.yml b/sites/default/config/sync/core.entity_form_display.node.materiau.default.yml index a2bc96d6..313b724e 100644 --- a/sites/default/config/sync/core.entity_form_display.node.materiau.default.yml +++ b/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: { } - third_party_settings: { } - langcode: - type: language_select - weight: 2 - region: content + field_attachments: + weight: 17 settings: - include_locked: true + progress_indicator: throbber third_party_settings: { } - path: - type: path - weight: 30 + type: file_generic 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 + field_distributor: 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 + type: entity_reference_autocomplete + region: content + field_famille: + weight: 26 settings: { } third_party_settings: { } + type: options_select region: content -hidden: { } + field_linked_breves: + weight: 19 + settings: + 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: { } + type: entity_reference_autocomplete + region: content + field_manufacturer: + weight: 15 + settings: + 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: { } + type: image_image + region: content + field_memo: + weight: 31 + settings: + 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: { } + type: string_textfield + region: content + field_tags: + weight: 12 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + 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: { } + type: video_embed_field_textfield + region: content + field_workflow: + weight: 32 + settings: { } + third_party_settings: { } + type: workflow_default + region: content + 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 diff --git a/sites/default/config/sync/core.entity_view_display.node.breve.default.yml b/sites/default/config/sync/core.entity_view_display.node.breve.default.yml new file mode 100644 index 00000000..c1155100 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/core.entity_view_display.node.breve.teaser.yml b/sites/default/config/sync/core.entity_view_display.node.breve.teaser.yml new file mode 100644 index 00000000..2efdc5bb --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/core.entity_view_display.node.materiau.default.yml b/sites/default/config/sync/core.entity_view_display.node.materiau.default.yml index 9a931b4c..952f3fa3 100644 --- a/sites/default/config/sync/core.entity_view_display.node.materiau.default.yml +++ b/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: { } diff --git a/sites/default/config/sync/core.extension.yml b/sites/default/config/sync/core.extension.yml index faf120a2..cf6e79bc 100644 --- a/sites/default/config/sync/core.extension.yml +++ b/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 diff --git a/sites/default/config/sync/field.field.node.breve.body.yml b/sites/default/config/sync/field.field.node.breve.body.yml new file mode 100644 index 00000000..ba3b4c54 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.body.yml b/sites/default/config/sync/field.field.node.materiau.body.yml index 61806e15..8ded4e73 100644 --- a/sites/default/config/sync/field.field.node.materiau.body.yml +++ b/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: diff --git a/sites/default/config/sync/field.field.node.materiau.field_attachments.yml b/sites/default/config/sync/field.field.node.materiau.field_attachments.yml new file mode 100644 index 00000000..a2157d3c --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_distributor.yml b/sites/default/config/sync/field.field.node.materiau.field_distributor.yml new file mode 100644 index 00000000..a33145b1 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_famille.yml b/sites/default/config/sync/field.field.node.materiau.field_famille.yml new file mode 100644 index 00000000..ab7a9ca8 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_index.yml b/sites/default/config/sync/field.field.node.materiau.field_index.yml new file mode 100644 index 00000000..5a10791d --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_linked_breves.yml b/sites/default/config/sync/field.field.node.materiau.field_linked_breves.yml new file mode 100644 index 00000000..cfacd608 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_linked_materials.yml b/sites/default/config/sync/field.field.node.materiau.field_linked_materials.yml new file mode 100644 index 00000000..dd688d4c --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_manufacturer.yml b/sites/default/config/sync/field.field.node.materiau.field_manufacturer.yml new file mode 100644 index 00000000..6d6db62b --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_materiau_images.yml b/sites/default/config/sync/field.field.node.materiau.field_materiau_images.yml new file mode 100644 index 00000000..b233c743 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_memo.yml b/sites/default/config/sync/field.field.node.materiau.field_memo.yml new file mode 100644 index 00000000..8a8b66a5 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_migration.yml b/sites/default/config/sync/field.field.node.materiau.field_migration.yml new file mode 100644 index 00000000..3a5ee87f --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_reference.yml b/sites/default/config/sync/field.field.node.materiau.field_reference.yml new file mode 100644 index 00000000..663f21d8 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_short_description.yml b/sites/default/config/sync/field.field.node.materiau.field_short_description.yml new file mode 100644 index 00000000..6aa469fc --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_tags.yml b/sites/default/config/sync/field.field.node.materiau.field_tags.yml new file mode 100644 index 00000000..d1451d46 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_thesaurus.yml b/sites/default/config/sync/field.field.node.materiau.field_thesaurus.yml new file mode 100644 index 00000000..f94363bc --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_video.yml b/sites/default/config/sync/field.field.node.materiau.field_video.yml new file mode 100644 index 00000000..3d8f6afe --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.field.node.materiau.field_workflow.yml b/sites/default/config/sync/field.field.node.materiau.field_workflow.yml new file mode 100644 index 00000000..3ba8b67a --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_attachments.yml b/sites/default/config/sync/field.storage.node.field_attachments.yml new file mode 100644 index 00000000..98523449 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_distributor.yml b/sites/default/config/sync/field.storage.node.field_distributor.yml new file mode 100644 index 00000000..a4771668 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_famille.yml b/sites/default/config/sync/field.storage.node.field_famille.yml new file mode 100644 index 00000000..b9a09348 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_index.yml b/sites/default/config/sync/field.storage.node.field_index.yml new file mode 100644 index 00000000..8aab6316 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_linked_breves.yml b/sites/default/config/sync/field.storage.node.field_linked_breves.yml new file mode 100644 index 00000000..6ad730ff --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_linked_materials.yml b/sites/default/config/sync/field.storage.node.field_linked_materials.yml new file mode 100644 index 00000000..30a02a6a --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_manufacturer.yml b/sites/default/config/sync/field.storage.node.field_manufacturer.yml new file mode 100644 index 00000000..e901c4e2 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_materiau_images.yml b/sites/default/config/sync/field.storage.node.field_materiau_images.yml new file mode 100644 index 00000000..42036ef1 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_memo.yml b/sites/default/config/sync/field.storage.node.field_memo.yml new file mode 100644 index 00000000..057032d0 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_migration.yml b/sites/default/config/sync/field.storage.node.field_migration.yml new file mode 100644 index 00000000..6fb67d36 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_reference.yml b/sites/default/config/sync/field.storage.node.field_reference.yml new file mode 100644 index 00000000..d72bef65 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_short_description.yml b/sites/default/config/sync/field.storage.node.field_short_description.yml new file mode 100644 index 00000000..2418e36c --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_tags.yml b/sites/default/config/sync/field.storage.node.field_tags.yml new file mode 100644 index 00000000..0ab1a7a5 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_thesaurus.yml b/sites/default/config/sync/field.storage.node.field_thesaurus.yml new file mode 100644 index 00000000..9f588f32 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_video.yml b/sites/default/config/sync/field.storage.node.field_video.yml new file mode 100644 index 00000000..9a307c29 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/field.storage.node.field_workflow.yml b/sites/default/config/sync/field.storage.node.field_workflow.yml new file mode 100644 index 00000000..3d4a66f3 --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/image.style.video_embed_wysiwyg_preview.yml b/sites/default/config/sync/image.style.video_embed_wysiwyg_preview.yml new file mode 100644 index 00000000..881f1a0c --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/language.content_settings.node.breve.yml b/sites/default/config/sync/language.content_settings.node.breve.yml new file mode 100644 index 00000000..389020de --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/language.content_settings.node.materiau.yml b/sites/default/config/sync/language.content_settings.node.materiau.yml index cb5a4652..94af75a5 100644 --- a/sites/default/config/sync/language.content_settings.node.materiau.yml +++ b/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 diff --git a/sites/default/config/sync/node.type.breve.yml b/sites/default/config/sync/node.type.breve.yml new file mode 100644 index 00000000..6e6d18ef --- /dev/null +++ b/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 diff --git a/sites/default/config/sync/node.type.materiau.yml b/sites/default/config/sync/node.type.materiau.yml index 9dded709..7631cafb 100644 --- a/sites/default/config/sync/node.type.materiau.yml +++ b/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