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_mailjet_subscriptions": "^1.3",
"drupal/social_media_links": "^2.8",
"drupal/straw": "^2.0@beta",
"drupal/string_translation_ui": "^2.0",
"drupal/structure_sync": "^2.0",
"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",
"This file is @generated automatically"
],
"content-hash": "c06b6f15da536261ffb851027ab3ec9a",
"content-hash": "656f1adeff23fd80dc3c84e225dffb91",
"packages": [
{
"name": "algolia/places",
@ -11694,6 +11694,62 @@
"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",
"version": "2.0.1",
@ -21014,6 +21070,7 @@
"drupal/search_api_page": 20,
"drupal/select_translation": 15,
"drupal/session_limit": 10,
"drupal/straw": 10,
"drupal/telephone_formatter": 10,
"drupal/views_field_view": 10,
"drupal/bulkdelete": 20,

View File

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

View File

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

View File

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

View File

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

View File

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