added unique_content_field_validation

This commit is contained in:
Bachir Soussi Chiadmi 2021-03-04 11:08:27 +01:00
parent 5383719450
commit e0bb0d378a
9 changed files with 91 additions and 7 deletions

View File

@ -82,6 +82,7 @@
"drupal/translate_side_by_side": "^1.x-dev", "drupal/translate_side_by_side": "^1.x-dev",
"drupal/translation_views": "^1.x-dev", "drupal/translation_views": "^1.x-dev",
"drupal/ultimate_cron": "^2.x-dev", "drupal/ultimate_cron": "^2.x-dev",
"drupal/unique_content_field_validation": "^1.0",
"drupal/url_to_video_filter": "^2.0", "drupal/url_to_video_filter": "^2.0",
"drupal/views_conditional": "^1.x-dev", "drupal/views_conditional": "^1.x-dev",
"drupal/views_ef_fieldset": "^1.5", "drupal/views_ef_fieldset": "^1.5",

48
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": "1e49937988bac1ead488e004a9fb2d47", "content-hash": "32cc18b06495257f2356216dd7982794",
"packages": [ "packages": [
{ {
"name": "alchemy/zippy", "name": "alchemy/zippy",
@ -11935,6 +11935,52 @@
}, },
"time": "2020-09-24T06:25:51+00:00" "time": "2020-09-24T06:25:51+00:00"
}, },
{
"name": "drupal/unique_content_field_validation",
"version": "1.0.2",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/unique_content_field_validation.git",
"reference": "1.0.2"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/unique_content_field_validation-1.0.2.zip",
"reference": "1.0.2",
"shasum": "41766f716a357ff5afeb2f81b5a2898fbaaf19ce"
},
"require": {
"drupal/core": "^8 || ^9"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "1.0.2",
"datestamp": "1612474709",
"security-coverage": {
"status": "not-covered",
"message": "Project has not opted into security advisory coverage!"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0+"
],
"authors": [
{
"name": "Fabian Sierra",
"homepage": "https://www.drupal.org/u/fabiansierra5191",
"role": "Maintainer"
}
],
"description": "Validate the uniqueness of the entities fields or title.",
"homepage": "http://drupal.org/project/unique_content_field_validation",
"support": {
"source": "https://cgit.drupalcode.org/unique_content_field_validation",
"issues": "https://drupal.org/project/issues/unique_content_field_validation"
}
},
{ {
"name": "drupal/url_to_video_filter", "name": "drupal/url_to_video_filter",
"version": "2.0.0", "version": "2.0.0",

View File

@ -182,6 +182,7 @@ module:
translation_views: 0 translation_views: 0
typed_data: 0 typed_data: 0
ultimate_cron: 0 ultimate_cron: 0
unique_content_field_validation: 0
update: 0 update: 0
url_to_video_filter: 0 url_to_video_filter: 0
user: 0 user: 0

View File

@ -6,6 +6,14 @@ dependencies:
- field.storage.node.field_linked_articles - field.storage.node.field_linked_articles
- node.type.article - node.type.article
- node.type.materiau - node.type.materiau
module:
- unique_content_field_validation
third_party_settings:
unique_content_field_validation:
unique: false
unique_text: ''
unique_multivalue: true
unique_multivalue_text: '%value appears more than once in %label'
id: node.materiau.field_linked_articles id: node.materiau.field_linked_articles
field_name: field_linked_articles field_name: field_linked_articles
entity_type: node entity_type: node

View File

@ -5,6 +5,14 @@ dependencies:
config: config:
- field.storage.node.field_linked_materials - field.storage.node.field_linked_materials
- node.type.materiau - node.type.materiau
module:
- unique_content_field_validation
third_party_settings:
unique_content_field_validation:
unique: false
unique_text: ''
unique_multivalue: true
unique_multivalue_text: '%value appears more than once in %label'
id: node.materiau.field_linked_materials id: node.materiau.field_linked_materials
field_name: field_linked_materials field_name: field_linked_materials
entity_type: node entity_type: node

View File

@ -6,6 +6,14 @@ dependencies:
- field.storage.node.field_linked_articles - field.storage.node.field_linked_articles
- node.type.article - node.type.article
- node.type.thematique - node.type.thematique
module:
- unique_content_field_validation
third_party_settings:
unique_content_field_validation:
unique: false
unique_text: ''
unique_multivalue: true
unique_multivalue_text: '%value appears more than once in %label'
id: node.thematique.field_linked_articles id: node.thematique.field_linked_articles
field_name: field_linked_articles field_name: field_linked_articles
entity_type: node entity_type: node

View File

@ -6,6 +6,14 @@ dependencies:
- field.storage.node.field_linked_materials - field.storage.node.field_linked_materials
- node.type.materiau - node.type.materiau
- node.type.thematique - node.type.thematique
module:
- unique_content_field_validation
third_party_settings:
unique_content_field_validation:
unique: false
unique_text: ''
unique_multivalue: true
unique_multivalue_text: '%value appears more than once in %label'
id: node.thematique.field_linked_materials id: node.thematique.field_linked_materials
field_name: field_linked_materials field_name: field_linked_materials
entity_type: node entity_type: node

View File

@ -3,7 +3,11 @@ langcode: en
status: true status: true
dependencies: dependencies:
module: module:
- field_permissions
- node - node
third_party_settings:
field_permissions:
permission_type: public
id: node.field_linked_materials id: node.field_linked_materials
field_name: field_linked_materials field_name: field_linked_materials
entity_type: node entity_type: node

View File

@ -1,8 +1,10 @@
label: 'Eléments de la commande'
display: display:
default: default:
display_title: Maître
display_options: display_options:
arguments:
order_id:
exception:
title: Tout
exposed_form: exposed_form:
options: options:
submit_button: Appliquer submit_button: Appliquer
@ -23,7 +25,5 @@ display:
total_price__number: total_price__number:
label: 'Prix total' label: 'Prix total'
separator: ', ' separator: ', '
arguments: display_title: Maître
order_id: label: 'Eléments de la commande'
exception:
title: Tout