reformated entity placement fields on concernement

This commit is contained in:
Bachir Soussi Chiadmi 2022-10-08 12:44:55 +02:00
parent 4576edc77a
commit 2fd06b0ccb
11 changed files with 241 additions and 57 deletions

View File

@ -23,7 +23,9 @@
"drupal/core-recommended": "^9.4", "drupal/core-recommended": "^9.4",
"drupal/genpass": "^1.1", "drupal/genpass": "^1.1",
"drupal/graphql": "4.x-dev@dev", "drupal/graphql": "4.x-dev@dev",
"drupal/mail_login": "^2.6",
"drupal/paragraphs": "^1.15", "drupal/paragraphs": "^1.15",
"drupal/restui": "^1.21",
"drupal/structure_sync": "^2.0", "drupal/structure_sync": "^2.0",
"drupal/typed_data": "1.x-dev@dev", "drupal/typed_data": "1.x-dev@dev",
"wikimedia/composer-merge-plugin": "^2.0" "wikimedia/composer-merge-plugin": "^2.0"
@ -115,6 +117,9 @@
}, },
"drupal/graphql": { "drupal/graphql": {
"invalid translation language https://github.com/drupal-graphql/graphql/pull/1176": "./patches/graphql-fix-invalid-translation-language-dev.patch" "invalid translation language https://github.com/drupal-graphql/graphql/pull/1176": "./patches/graphql-fix-invalid-translation-language-dev.patch"
},
"drupal/email_registration": {
"Allow authentication via mail and password over RPC https://www.drupal.org/project/email_registration/issues/2856542": "https://www.drupal.org/files/issues/2021-06-11/2856542-13.patch"
} }
} }
} }

110
src/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": "58985f485c20af7d3507eb5f194dac03", "content-hash": "1eaa9308bf7744570f152f771ac26916",
"packages": [ "packages": [
{ {
"name": "alchemy/zippy", "name": "alchemy/zippy",
@ -6266,6 +6266,58 @@
"issues": "https://drupal.org/project/issues/login_destination" "issues": "https://drupal.org/project/issues/login_destination"
} }
}, },
{
"name": "drupal/mail_login",
"version": "2.6.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/mail_login.git",
"reference": "8.x-2.6"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/mail_login-8.x-2.6.zip",
"reference": "8.x-2.6",
"shasum": "1cb038bba09f5c8b9e6972b6f09caef773255a7a"
},
"require": {
"drupal/core": "^8 || ^9"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-2.6",
"datestamp": "1640215989",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0+"
],
"authors": [
{
"name": "Mohammad AlQanneh",
"homepage": "https://www.drupal.org/u/mqanneh",
"role": "Maintainer"
}
],
"description": "This module enables users to login by email address.",
"homepage": "https://www.drupal.org/project/mail_login",
"keywords": [
"drupal",
"php",
"user"
],
"support": {
"source": "https://git.drupalcode.org/project/mail_login",
"issues": "http://drupal.org/project/issues/mail_login",
"email": "mqanneh@gmail.com"
}
},
{ {
"name": "drupal/maillog", "name": "drupal/maillog",
"version": "dev-1.x", "version": "dev-1.x",
@ -7156,6 +7208,62 @@
"source": "https://git.drupalcode.org/project/redis" "source": "https://git.drupalcode.org/project/redis"
} }
}, },
{
"name": "drupal/restui",
"version": "1.21.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/restui.git",
"reference": "8.x-1.21"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/restui-8.x-1.21.zip",
"reference": "8.x-1.21",
"shasum": "2a67dc2c1953dced0bddaff25e5c60784ee0178c"
},
"require": {
"drupal/core": "^8.7.7 || ^9 || ^10"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.21",
"datestamp": "1659086914",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "-enzo-",
"homepage": "https://www.drupal.org/user/294937"
},
{
"name": "clemens.tolboom",
"homepage": "https://www.drupal.org/user/125814"
},
{
"name": "juampynr",
"homepage": "https://www.drupal.org/user/682736"
},
{
"name": "klausi",
"homepage": "https://www.drupal.org/user/262198"
}
],
"description": "Provides a user interface to manage REST resources.",
"homepage": "https://www.drupal.org/project/restui",
"support": {
"source": "https://git.drupalcode.org/project/restui"
}
},
{ {
"name": "drupal/search_api", "name": "drupal/search_api",
"version": "1.25.0", "version": "1.25.0",

View File

@ -3,21 +3,21 @@ langcode: fr
status: true status: true
dependencies: dependencies:
config: config:
- field.field.paragraph.entite_concernement.field_angle - field.field.paragraph.entite_concernement.field_actuel_future
- field.field.paragraph.entite_concernement.field_entite - field.field.paragraph.entite_concernement.field_entite
- field.field.paragraph.entite_concernement.field_rayon - field.field.paragraph.entite_concernement.field_menace_maintien_degres
- field.field.paragraph.entite_concernement.field_prise
- paragraphs.paragraphs_type.entite_concernement - paragraphs.paragraphs_type.entite_concernement
id: paragraph.entite_concernement.default id: paragraph.entite_concernement.default
targetEntityType: paragraph targetEntityType: paragraph
bundle: entite_concernement bundle: entite_concernement
mode: default mode: default
content: content:
field_angle: field_actuel_future:
type: number type: options_buttons
weight: 2 weight: 3
region: content region: content
settings: settings: { }
placeholder: ''
third_party_settings: { } third_party_settings: { }
field_entite: field_entite:
type: entity_reference_autocomplete type: entity_reference_autocomplete
@ -29,9 +29,16 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_rayon: field_menace_maintien_degres:
type: number type: number
weight: 1 weight: 5
region: content
settings:
placeholder: ''
third_party_settings: { }
field_prise:
type: number
weight: 4
region: content region: content
settings: settings:
placeholder: '' placeholder: ''

View File

@ -3,25 +3,24 @@ langcode: fr
status: true status: true
dependencies: dependencies:
config: config:
- field.field.paragraph.entite_concernement.field_angle - field.field.paragraph.entite_concernement.field_actuel_future
- field.field.paragraph.entite_concernement.field_entite - field.field.paragraph.entite_concernement.field_entite
- field.field.paragraph.entite_concernement.field_rayon - field.field.paragraph.entite_concernement.field_menace_maintien_degres
- field.field.paragraph.entite_concernement.field_prise
- paragraphs.paragraphs_type.entite_concernement - paragraphs.paragraphs_type.entite_concernement
module:
- options
id: paragraph.entite_concernement.default id: paragraph.entite_concernement.default
targetEntityType: paragraph targetEntityType: paragraph
bundle: entite_concernement bundle: entite_concernement
mode: default mode: default
content: content:
field_angle: field_actuel_future:
type: number_decimal type: list_default
label: above label: above
settings: settings: { }
thousand_separator: ''
decimal_separator: .
scale: 2
prefix_suffix: true
third_party_settings: { } third_party_settings: { }
weight: 2 weight: 3
region: content region: content
field_entite: field_entite:
type: entity_reference_label type: entity_reference_label
@ -31,7 +30,7 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 0
region: content region: content
field_rayon: field_menace_maintien_degres:
type: number_decimal type: number_decimal
label: above label: above
settings: settings:
@ -40,7 +39,18 @@ content:
scale: 2 scale: 2
prefix_suffix: true prefix_suffix: true
third_party_settings: { } third_party_settings: { }
weight: 1 weight: 5
region: content
field_prise:
type: number_decimal
label: above
settings:
thousand_separator: ''
decimal_separator: .
scale: 2
prefix_suffix: true
third_party_settings: { }
weight: 4
region: content region: content
hidden: hidden:
search_api_excerpt: true search_api_excerpt: true

View File

@ -0,0 +1,23 @@
uuid: 62d07703-2d2a-43cf-a4bc-a59a5112a5cb
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_actuel_future
- paragraphs.paragraphs_type.entite_concernement
module:
- options
id: paragraph.entite_concernement.field_actuel_future
field_name: field_actuel_future
entity_type: paragraph
bundle: entite_concernement
label: 'Actuel / Future'
description: ''
required: true
translatable: false
default_value:
-
value: 0
default_value_callback: ''
settings: { }
field_type: list_integer

View File

@ -1,23 +0,0 @@
uuid: 3d803a88-cde3-43d3-a266-712210d37188
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_angle
- paragraphs.paragraphs_type.entite_concernement
id: paragraph.entite_concernement.field_angle
field_name: field_angle
entity_type: paragraph
bundle: entite_concernement
label: Angle
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: !!float 0
max: !!float 360
prefix: ''
suffix: ''
field_type: decimal

View File

@ -0,0 +1,25 @@
uuid: 9d9153ba-790b-4cc8-b45c-1ec385a204a6
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_menace_maintien_degres
- paragraphs.paragraphs_type.entite_concernement
id: paragraph.entite_concernement.field_menace_maintien_degres
field_name: field_menace_maintien_degres
entity_type: paragraph
bundle: entite_concernement
label: 'Menace - Maintien'
description: ''
required: false
translatable: false
default_value:
-
value: !!float 0
default_value_callback: ''
settings:
min: !!float -90
max: !!float 90
prefix: ''
suffix: ''
field_type: decimal

View File

@ -1,19 +1,21 @@
uuid: 108ef2b1-7685-4ffc-a9b3-a6b0d7c88101 uuid: 440b72c5-5d46-40ec-875d-71626e781810
langcode: fr langcode: fr
status: true status: true
dependencies: dependencies:
config: config:
- field.storage.paragraph.field_rayon - field.storage.paragraph.field_prise
- paragraphs.paragraphs_type.entite_concernement - paragraphs.paragraphs_type.entite_concernement
id: paragraph.entite_concernement.field_rayon id: paragraph.entite_concernement.field_prise
field_name: field_rayon field_name: field_prise
entity_type: paragraph entity_type: paragraph
bundle: entite_concernement bundle: entite_concernement
label: rayon label: Prise
description: '' description: ''
required: false required: false
translatable: false translatable: false
default_value: { } default_value:
-
value: !!float 0
default_value_callback: '' default_value_callback: ''
settings: settings:
min: !!float 0 min: !!float 0

View File

@ -0,0 +1,27 @@
uuid: d5f11bce-8b11-4c6e-9b28-d4de4e58a6ce
langcode: fr
status: true
dependencies:
module:
- options
- paragraphs
id: paragraph.field_actuel_future
field_name: field_actuel_future
entity_type: paragraph
type: list_integer
settings:
allowed_values:
-
value: 0
label: Actuel
-
value: 1
label: Futur
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,11 +1,11 @@
uuid: 0dcd010f-36ff-4d18-b29e-7a3615d1fd4f uuid: 8d4d8de4-e4df-407a-b651-b0fa2846cbca
langcode: fr langcode: fr
status: true status: true
dependencies: dependencies:
module: module:
- paragraphs - paragraphs
id: paragraph.field_rayon id: paragraph.field_menace_maintien_degres
field_name: field_rayon field_name: field_menace_maintien_degres
entity_type: paragraph entity_type: paragraph
type: decimal type: decimal
settings: settings:

View File

@ -1,11 +1,11 @@
uuid: 745fa859-a99d-4ebf-94d5-eaad168db650 uuid: 430cb534-52ff-45ba-83af-77070af9f573
langcode: fr langcode: fr
status: true status: true
dependencies: dependencies:
module: module:
- paragraphs - paragraphs
id: paragraph.field_angle id: paragraph.field_prise
field_name: field_angle field_name: field_prise
entity_type: paragraph entity_type: paragraph
type: decimal type: decimal
settings: settings: