réajout du field type de ressource
This commit is contained in:
		@@ -9,6 +9,7 @@ dependencies:
 | 
			
		||||
    - field.field.node.ressource.field_introduction
 | 
			
		||||
    - field.field.node.ressource.field_parties_ressource
 | 
			
		||||
    - field.field.node.ressource.field_thematiques
 | 
			
		||||
    - field.field.node.ressource.field_type_de_ressource
 | 
			
		||||
    - node.type.ressource
 | 
			
		||||
  module:
 | 
			
		||||
    - autocomplete_deluxe
 | 
			
		||||
@@ -162,6 +163,12 @@ content:
 | 
			
		||||
      new_terms: false
 | 
			
		||||
      no_empty_message: 'No terms could be found. Please type in order to add a new term.'
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
  field_type_de_ressource:
 | 
			
		||||
    type: options_select
 | 
			
		||||
    weight: 31
 | 
			
		||||
    region: content
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
  path:
 | 
			
		||||
    type: path
 | 
			
		||||
    weight: 30
 | 
			
		||||
 
 | 
			
		||||
@@ -9,10 +9,12 @@ dependencies:
 | 
			
		||||
    - field.field.node.ressource.field_introduction
 | 
			
		||||
    - field.field.node.ressource.field_parties_ressource
 | 
			
		||||
    - field.field.node.ressource.field_thematiques
 | 
			
		||||
    - field.field.node.ressource.field_type_de_ressource
 | 
			
		||||
    - node.type.ressource
 | 
			
		||||
  module:
 | 
			
		||||
    - datetime
 | 
			
		||||
    - entity_reference_revisions
 | 
			
		||||
    - options
 | 
			
		||||
    - text
 | 
			
		||||
    - user
 | 
			
		||||
id: node.ressource.default
 | 
			
		||||
@@ -69,6 +71,13 @@ content:
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    weight: 4
 | 
			
		||||
    region: content
 | 
			
		||||
  field_type_de_ressource:
 | 
			
		||||
    type: list_default
 | 
			
		||||
    label: above
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    weight: 108
 | 
			
		||||
    region: content
 | 
			
		||||
  links:
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
 
 | 
			
		||||
@@ -10,6 +10,7 @@ dependencies:
 | 
			
		||||
    - field.field.node.ressource.field_introduction
 | 
			
		||||
    - field.field.node.ressource.field_parties_ressource
 | 
			
		||||
    - field.field.node.ressource.field_thematiques
 | 
			
		||||
    - field.field.node.ressource.field_type_de_ressource
 | 
			
		||||
    - node.type.ressource
 | 
			
		||||
  module:
 | 
			
		||||
    - user
 | 
			
		||||
@@ -30,6 +31,7 @@ hidden:
 | 
			
		||||
  field_introduction: true
 | 
			
		||||
  field_parties_ressource: true
 | 
			
		||||
  field_thematiques: true
 | 
			
		||||
  field_type_de_ressource: true
 | 
			
		||||
  footnotes_group: true
 | 
			
		||||
  langcode: true
 | 
			
		||||
  search_api_excerpt: true
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,21 @@
 | 
			
		||||
uuid: e439dc6f-3fc5-40cb-b615-f95c5a22a6f9
 | 
			
		||||
langcode: fr
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.node.field_type_de_ressource
 | 
			
		||||
    - node.type.ressource
 | 
			
		||||
  module:
 | 
			
		||||
    - options
 | 
			
		||||
id: node.ressource.field_type_de_ressource
 | 
			
		||||
field_name: field_type_de_ressource
 | 
			
		||||
entity_type: node
 | 
			
		||||
bundle: ressource
 | 
			
		||||
label: 'Type de ressource'
 | 
			
		||||
description: ''
 | 
			
		||||
required: true
 | 
			
		||||
translatable: false
 | 
			
		||||
default_value: {  }
 | 
			
		||||
default_value_callback: ''
 | 
			
		||||
settings: {  }
 | 
			
		||||
field_type: list_string
 | 
			
		||||
							
								
								
									
										33
									
								
								config/sync/field.storage.node.field_type_de_ressource.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								config/sync/field.storage.node.field_type_de_ressource.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
uuid: be6b9eb9-d827-4adc-9106-e7c31b94aff6
 | 
			
		||||
langcode: fr
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  module:
 | 
			
		||||
    - node
 | 
			
		||||
    - options
 | 
			
		||||
id: node.field_type_de_ressource
 | 
			
		||||
field_name: field_type_de_ressource
 | 
			
		||||
entity_type: node
 | 
			
		||||
type: list_string
 | 
			
		||||
settings:
 | 
			
		||||
  allowed_values:
 | 
			
		||||
    -
 | 
			
		||||
      value: cartes_blanches
 | 
			
		||||
      label: 'Cartes blanches'
 | 
			
		||||
    -
 | 
			
		||||
      value: reportages
 | 
			
		||||
      label: Reportages
 | 
			
		||||
    -
 | 
			
		||||
      value: videos
 | 
			
		||||
      label: Videos
 | 
			
		||||
    -
 | 
			
		||||
      value: documents
 | 
			
		||||
      label: Documents
 | 
			
		||||
  allowed_values_function: ''
 | 
			
		||||
module: options
 | 
			
		||||
locked: false
 | 
			
		||||
cardinality: 1
 | 
			
		||||
translatable: true
 | 
			
		||||
indexes: {  }
 | 
			
		||||
persist_with_no_fields: false
 | 
			
		||||
custom_storage: false
 | 
			
		||||
		Reference in New Issue
	
	Block a user