Client Simple Hierachical Select <- Taxonomy tree widget

This commit is contained in:
Bachir Soussi Chiadmi 2018-12-12 13:10:19 +01:00
parent be655ef81c
commit 596578af5b
5 changed files with 124 additions and 12 deletions

View File

@ -15,7 +15,8 @@
"drupal/telephone_validation": "^2.1",
"drupal/telephone_formatter": "^1.0@beta",
"drupal/video_embed_field": "^2.0",
"drupal/computed_field": "^2.0@alpha"
"drupal/computed_field": "^2.0@alpha",
"drupal/cshs": "1.x-dev"
},
"replace": {
"drupal/core": "^8.6"

53
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": "4bbff6f0efab565c22219c3b9b80c43d",
"content-hash": "a300e7df3ed622ceed984b184f01439a",
"packages": [
{
"name": "alchemy/zippy",
@ -3046,6 +3046,56 @@
"docs": "https://github.com/oddhill/context"
}
},
{
"name": "drupal/cshs",
"version": "dev-1.x",
"source": {
"type": "git",
"url": "https://git.drupal.org/project/cshs",
"reference": "c4a2deff253e24c83b14f960ce9dce49fa115f60"
},
"require": {
"drupal/core": "*"
},
"type": "drupal-module",
"extra": {
"branch-alias": {
"dev-1.x": "1.x-dev"
},
"drupal": {
"version": "8.x-1.0-beta4+4-dev",
"datestamp": "1512800285",
"security-coverage": {
"status": "not-covered",
"message": "Dev releases are not covered by Drupal security advisories."
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "BR0kEN",
"homepage": "https://www.drupal.org/user/2802285"
},
{
"name": "purushotam.rai",
"homepage": "https://www.drupal.org/user/3193859"
},
{
"name": "valderama",
"homepage": "https://www.drupal.org/user/103634"
}
],
"description": "A simple client-side hierarchical select widget for taxonomy terms.",
"homepage": "https://www.drupal.org/project/cshs",
"support": {
"source": "http://cgit.drupalcode.org/cshs"
},
"time": "2018-06-24T13:39:17+00:00"
},
{
"name": "drupal/ctools",
"version": "3.0.0",
@ -12238,6 +12288,7 @@
"drupal/synonyms": 20,
"drupal/telephone_formatter": 10,
"drupal/computed_field": 15,
"drupal/cshs": 20,
"drupal/advanced_text_formatter": 10,
"drupal/autocomplete_deluxe": 10,
"drupal/better_exposed_filters": 15,

View File

@ -23,6 +23,7 @@ dependencies:
- image.style.thumbnail
- node.type.materiau
module:
- cshs
- field_group
- file
- image
@ -268,11 +269,11 @@ content:
field_thesaurus:
weight: 11
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
parent: 0
level_labels: ''
force_deepest: false
third_party_settings: { }
type: entity_reference_autocomplete
type: cshs
region: content
field_video:
weight: 14

View File

@ -29,6 +29,7 @@ module:
context: 0
context_ui: 0
contextual: 0
cshs: 0
ctools: 0
ctools_block: 0
ctools_views: 0

View File

@ -11,6 +11,8 @@ dependencies:
- field.storage.node.field_thesaurus
- field.storage.node.field_workflow
- taxonomy.vocabulary.company
- user.role.admin
- user.role.root
module:
- better_exposed_filters
- content_lock
@ -37,9 +39,11 @@ display:
position: 0
display_options:
access:
type: perm
type: role
options:
perm: 'access content'
role:
admin: admin
root: root
cache:
type: tag
options: { }
@ -166,7 +170,15 @@ display:
edit_node: title
translation_link: title
langcode: langcode
field_thesaurus: field_thesaurus
delta: field_thesaurus
field_tags: field_tags
field_manufacturer: field_manufacturer
field_distributor: field_distributor
field_workflow: field_workflow
field_migration: field_migration
is_locked: is_locked
field_memo: field_memo
info:
views_bulk_operations_bulk_form:
align: ''
@ -208,6 +220,47 @@ display:
separator: ''
empty_column: false
responsive: ''
field_thesaurus:
align: ''
separator: '<br/>'
empty_column: false
responsive: ''
delta:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_tags:
align: ''
separator: ''
empty_column: false
responsive: ''
field_manufacturer:
align: ''
separator: ''
empty_column: false
responsive: ''
field_distributor:
align: ''
separator: ''
empty_column: false
responsive: ''
field_workflow:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_migration:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
is_locked:
sortable: false
default_sort_order: asc
@ -215,6 +268,11 @@ display:
separator: ''
empty_column: false
responsive: ''
field_memo:
align: ''
separator: ''
empty_column: false
responsive: ''
default: '-1'
empty_table: false
row:
@ -646,8 +704,8 @@ display:
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: ol
separator: ', '
multi_type: separator
separator: '<br/>'
field_api_classes: false
plugin_id: field
field_tags:
@ -1476,7 +1534,7 @@ display:
- url.query_args
- user
- 'user.node_grants:view'
- user.permissions
- user.roles
tags:
- 'config:field.storage.node.field_distributor'
- 'config:field.storage.node.field_manufacturer'
@ -1502,7 +1560,7 @@ display:
- url.query_args
- user
- 'user.node_grants:view'
- user.permissions
- user.roles
tags:
- 'config:field.storage.node.field_distributor'
- 'config:field.storage.node.field_manufacturer'