thesaurus straw

This commit is contained in:
Bachir Soussi Chiadmi 2024-09-03 13:02:22 +02:00
parent 0de38a8a24
commit 85a73c742a
7 changed files with 80 additions and 17 deletions

View File

@ -138,6 +138,7 @@
"drupal/simplenews": "^4.0", "drupal/simplenews": "^4.0",
"drupal/simplenews_mailjet_subscriptions": "^1.3", "drupal/simplenews_mailjet_subscriptions": "^1.3",
"drupal/social_media_links": "^2.8", "drupal/social_media_links": "^2.8",
"drupal/straw": "^2.0@beta",
"drupal/string_translation_ui": "^2.0", "drupal/string_translation_ui": "^2.0",
"drupal/structure_sync": "^2.0", "drupal/structure_sync": "^2.0",
"drupal/symfony_mailer": "^1", "drupal/symfony_mailer": "^1",

59
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "c06b6f15da536261ffb851027ab3ec9a", "content-hash": "656f1adeff23fd80dc3c84e225dffb91",
"packages": [ "packages": [
{ {
"name": "algolia/places", "name": "algolia/places",
@ -11694,6 +11694,62 @@
"source": "https://git.drupalcode.org/project/state_machine" "source": "https://git.drupalcode.org/project/state_machine"
} }
}, },
{
"name": "drupal/straw",
"version": "2.0.0-beta1",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/straw.git",
"reference": "2.0.0-beta1"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/straw-2.0.0-beta1.zip",
"reference": "2.0.0-beta1",
"shasum": "c52f76962eb236057ed2505b2016d71984797f26"
},
"require": {
"drupal/core": "^9 || ^10 || ^11"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "2.0.0-beta1",
"datestamp": "1717271050",
"security-coverage": {
"status": "not-covered",
"message": "Beta releases are not covered by Drupal security advisories."
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "brian.seek",
"homepage": "https://www.drupal.org/user/2625761"
},
{
"name": "camprandall",
"homepage": "https://www.drupal.org/user/1837862"
},
{
"name": "jcnventura",
"homepage": "https://www.drupal.org/user/122464"
},
{
"name": "mikeegoulding",
"homepage": "https://www.drupal.org/user/2867877"
}
],
"description": "Adds a form widget for seeing and editing the whole term hierarchy in an autocomplete.",
"homepage": "https://drupal.org/project/straw",
"support": {
"source": "https://git.drupalcode.org/project/straw"
}
},
{ {
"name": "drupal/string_translation_ui", "name": "drupal/string_translation_ui",
"version": "2.0.1", "version": "2.0.1",
@ -21014,6 +21070,7 @@
"drupal/search_api_page": 20, "drupal/search_api_page": 20,
"drupal/select_translation": 15, "drupal/select_translation": 15,
"drupal/session_limit": 10, "drupal/session_limit": 10,
"drupal/straw": 10,
"drupal/telephone_formatter": 10, "drupal/telephone_formatter": 10,
"drupal/views_field_view": 10, "drupal/views_field_view": 10,
"drupal/bulkdelete": 20, "drupal/bulkdelete": 20,

View File

@ -26,12 +26,12 @@ dependencies:
- node.type.materiau - node.type.materiau
module: module:
- computed_field - computed_field
- cshs
- field_group - field_group
- file - file
- image - image
- materio_samples - materio_samples
- path - path
- straw
- text - text
- video_embed_field - video_embed_field
third_party_settings: third_party_settings:
@ -297,7 +297,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_tags: field_tags:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 12 weight: 36
region: content region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
@ -306,17 +306,14 @@ content:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_thesaurus: field_thesaurus:
type: cshs type: super_term_reference_autocomplete_widget
weight: 11 weight: 35
region: content region: content
settings: settings:
save_lineage: false match_operator: STARTS_WITH
force_deepest: false match_limit: '0'
parent: null size: '60'
level_labels: '' placeholder: ''
hierarchy_depth: 0
required_depth: 0
none_label: '- Please select -'
third_party_settings: { } third_party_settings: { }
field_video: field_video:
type: video_embed_field_textfield type: video_embed_field_textfield

View File

@ -187,6 +187,7 @@ module:
social_media_links: 0 social_media_links: 0
sophron: 0 sophron: 0
state_machine: 0 state_machine: 0
straw: 0
string_translation_ui: 0 string_translation_ui: 0
structure_sync: 0 structure_sync: 0
symfony_mailer: 0 symfony_mailer: 0

View File

@ -25,13 +25,13 @@ translatable: false
default_value: { } default_value: { }
default_value_callback: '' default_value_callback: ''
settings: settings:
handler: 'default:taxonomy_term' handler: straw
handler_settings: handler_settings:
target_bundles: target_bundles:
thesaurus: thesaurus thesaurus: thesaurus
sort: sort:
field: name field: name
direction: asc direction: asc
auto_create: false auto_create: 0
auto_create_bundle: '' auto_create_bundle: ''
field_type: entity_reference field_type: entity_reference

View File

@ -239,7 +239,7 @@ bundles:
enabled: false enabled: false
rta: 'no' rta: 'no'
rtf: 'no' rtf: 'no'
anonymizer: '' anonymizer: email_anonymizer
notes: '' notes: ''
relationship: 0 relationship: 0
sars_filename: '' sars_filename: ''

View File

@ -1,11 +1,18 @@
uuid: 64d7b66e-e495-4c9d-9394-449a43e55ec1 uuid: 64d7b66e-e495-4c9d-9394-449a43e55ec1
langcode: fr langcode: fr
status: true status: true
dependencies: { } dependencies:
module:
- field_permissions
_core: _core:
default_config_hash: TBu83Sl_ckotQqV22pDBGe0jLnR1nLyiVeVVnYJX_kQ default_config_hash: TBu83Sl_ckotQqV22pDBGe0jLnR1nLyiVeVVnYJX_kQ
id: root id: root
label: Root label: Root
weight: 2 weight: 2
is_admin: true is_admin: true
permissions: { } permissions:
- 'create field_thesaurus'
- 'edit field_thesaurus'
- 'edit own field_thesaurus'
- 'view field_thesaurus'
- 'view own field_thesaurus'