added audio field 'recit' to concernement

This commit is contained in:
Bachir Soussi Chiadmi 2022-10-06 10:30:59 +02:00
parent 9d16eaade2
commit 7f28838ca4
7 changed files with 84 additions and 13 deletions

View File

@ -17,6 +17,7 @@
"require": {
"composer/installers": "^1.9",
"drupal/amswap": "^3.1",
"drupal/audiofield": "1.x-dev@dev",
"drupal/core-composer-scaffold": "^9.4",
"drupal/core-project-message": "^9.4",
"drupal/core-recommended": "^9.4",

24
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",
"This file is @generated automatically"
],
"content-hash": "f99b5078374f3e6782bdb6cec43b4c1f",
"content-hash": "58985f485c20af7d3507eb5f194dac03",
"packages": [
{
"name": "alchemy/zippy",
@ -2453,29 +2453,26 @@
},
{
"name": "drupal/audiofield",
"version": "1.11.0",
"version": "dev-1.x",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/audiofield.git",
"reference": "8.x-1.11"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/audiofield-8.x-1.11.zip",
"reference": "8.x-1.11",
"shasum": "b677d0b178f16baffec8b52bb0c05a06384daf67"
"reference": "202aceb5e2ad8f48801166ed0a11fa3e9393d441"
},
"require": {
"drupal/core": "^8 || ^9"
},
"type": "drupal-module",
"extra": {
"branch-alias": {
"dev-1.x": "1.x-dev"
},
"drupal": {
"version": "8.x-1.11",
"datestamp": "1630089337",
"version": "8.x-1.11+6-dev",
"datestamp": "1662479730",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
"status": "not-covered",
"message": "Dev releases are not covered by Drupal security advisories."
}
},
"drush": {
@ -13677,6 +13674,7 @@
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {
"drupal/audiofield": 20,
"drupal/graphql": 20,
"drupal/typed_data": 20,
"drupal/autocomplete_deluxe": 5,

View File

@ -5,9 +5,11 @@ dependencies:
config:
- field.field.node.concernement.body
- field.field.node.concernement.field_entite
- field.field.node.concernement.field_recit
- node.type.concernement
module:
- field_group
- file
- paragraphs
- text
third_party_settings:
@ -30,6 +32,7 @@ third_party_settings:
group_contenu:
children:
- body
- field_recit
label: Contenu
region: content
parent_name: group_tabs
@ -115,6 +118,13 @@ content:
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
field_recit:
type: file_generic
weight: 11
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
langcode:
type: language_select
weight: 3

View File

@ -5,9 +5,11 @@ dependencies:
config:
- field.field.node.concernement.body
- field.field.node.concernement.field_entite
- field.field.node.concernement.field_recit
- node.type.concernement
module:
- entity_reference_revisions
- file
- text
- user
id: node.concernement.default
@ -31,6 +33,14 @@ content:
third_party_settings: { }
weight: 102
region: content
field_recit:
type: file_default
label: above
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 103
region: content
links:
settings: { }
third_party_settings: { }

View File

@ -6,6 +6,7 @@ dependencies:
- core.entity_view_mode.node.teaser
- field.field.node.concernement.body
- field.field.node.concernement.field_entite
- field.field.node.concernement.field_recit
- node.type.concernement
module:
- text
@ -30,5 +31,6 @@ content:
region: content
hidden:
field_entite: true
field_recit: true
langcode: true
search_api_excerpt: true

View File

@ -0,0 +1,27 @@
uuid: 48655669-8ce3-4343-abca-8f0016267d1c
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_recit
- node.type.concernement
module:
- file
id: node.concernement.field_recit
field_name: field_recit
entity_type: node
bundle: concernement
label: Récit
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: ogg
max_filesize: ''
description_field: false
field_type: file

View File

@ -0,0 +1,23 @@
uuid: 22969ef3-07bc-43d3-ab21-c6f75f2cfee8
langcode: fr
status: true
dependencies:
module:
- file
- node
id: node.field_recit
field_name: field_recit
entity_type: node
type: file
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
module: file
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false