added actif to project to hide villes in popsu europe
This commit is contained in:
		@@ -4,6 +4,7 @@ status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.field.node.projet.body
 | 
			
		||||
    - field.field.node.projet.field_actif
 | 
			
		||||
    - field.field.node.projet.field_adresse
 | 
			
		||||
    - field.field.node.projet.field_comparatifs_associes
 | 
			
		||||
    - field.field.node.projet.field_diaporama
 | 
			
		||||
@@ -130,6 +131,7 @@ third_party_settings:
 | 
			
		||||
      children:
 | 
			
		||||
        - status
 | 
			
		||||
        - promote
 | 
			
		||||
        - field_actif
 | 
			
		||||
        - field_memo
 | 
			
		||||
      parent_name: ''
 | 
			
		||||
      weight: 20
 | 
			
		||||
@@ -188,6 +190,13 @@ content:
 | 
			
		||||
      show_summary: false
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    region: content
 | 
			
		||||
  field_actif:
 | 
			
		||||
    weight: 2
 | 
			
		||||
    settings:
 | 
			
		||||
      display_label: true
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: boolean_checkbox
 | 
			
		||||
    region: content
 | 
			
		||||
  field_adresse:
 | 
			
		||||
    weight: 26
 | 
			
		||||
    settings: {  }
 | 
			
		||||
@@ -267,7 +276,7 @@ content:
 | 
			
		||||
    type: map_marker_widget
 | 
			
		||||
    region: content
 | 
			
		||||
  field_memo:
 | 
			
		||||
    weight: 2
 | 
			
		||||
    weight: 3
 | 
			
		||||
    settings:
 | 
			
		||||
      rows: 5
 | 
			
		||||
      placeholder: ''
 | 
			
		||||
 
 | 
			
		||||
@@ -4,6 +4,7 @@ status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.field.node.projet.body
 | 
			
		||||
    - field.field.node.projet.field_actif
 | 
			
		||||
    - field.field.node.projet.field_adresse
 | 
			
		||||
    - field.field.node.projet.field_comparatifs_associes
 | 
			
		||||
    - field.field.node.projet.field_diaporama
 | 
			
		||||
@@ -46,6 +47,16 @@ content:
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    region: content
 | 
			
		||||
  field_actif:
 | 
			
		||||
    weight: 14
 | 
			
		||||
    label: above
 | 
			
		||||
    settings:
 | 
			
		||||
      format: default
 | 
			
		||||
      format_custom_false: ''
 | 
			
		||||
      format_custom_true: ''
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: boolean
 | 
			
		||||
    region: content
 | 
			
		||||
  field_adresse:
 | 
			
		||||
    weight: 12
 | 
			
		||||
    label: above
 | 
			
		||||
 
 | 
			
		||||
@@ -5,6 +5,7 @@ dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - core.entity_view_mode.node.teaser
 | 
			
		||||
    - field.field.node.projet.body
 | 
			
		||||
    - field.field.node.projet.field_actif
 | 
			
		||||
    - field.field.node.projet.field_adresse
 | 
			
		||||
    - field.field.node.projet.field_comparatifs_associes
 | 
			
		||||
    - field.field.node.projet.field_diaporama
 | 
			
		||||
@@ -65,6 +66,7 @@ content:
 | 
			
		||||
      link: true
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
hidden:
 | 
			
		||||
  field_actif: true
 | 
			
		||||
  field_adresse: true
 | 
			
		||||
  field_comparatifs_associes: true
 | 
			
		||||
  field_document: true
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										23
									
								
								config/sync/field.field.node.projet.field_actif.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								config/sync/field.field.node.projet.field_actif.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
uuid: 9b5261a4-f071-40c5-bc97-51377a2a4edb
 | 
			
		||||
langcode: fr
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.node.field_actif
 | 
			
		||||
    - node.type.projet
 | 
			
		||||
id: node.projet.field_actif
 | 
			
		||||
field_name: field_actif
 | 
			
		||||
entity_type: node
 | 
			
		||||
bundle: projet
 | 
			
		||||
label: Actif
 | 
			
		||||
description: ''
 | 
			
		||||
required: false
 | 
			
		||||
translatable: true
 | 
			
		||||
default_value:
 | 
			
		||||
  -
 | 
			
		||||
    value: 0
 | 
			
		||||
default_value_callback: ''
 | 
			
		||||
settings:
 | 
			
		||||
  on_label: Activé
 | 
			
		||||
  off_label: Désactivé
 | 
			
		||||
field_type: boolean
 | 
			
		||||
@@ -2518,6 +2518,61 @@ display:
 | 
			
		||||
            default_group_multiple: {  }
 | 
			
		||||
            group_items: {  }
 | 
			
		||||
          plugin_id: string
 | 
			
		||||
        field_programme_target_id:
 | 
			
		||||
          id: field_programme_target_id
 | 
			
		||||
          table: node__field_programme
 | 
			
		||||
          field: field_programme_target_id
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          operator: or
 | 
			
		||||
          value: {  }
 | 
			
		||||
          group: 1
 | 
			
		||||
          exposed: true
 | 
			
		||||
          expose:
 | 
			
		||||
            operator_id: field_programme_target_id_op
 | 
			
		||||
            label: Programme
 | 
			
		||||
            description: ''
 | 
			
		||||
            use_operator: false
 | 
			
		||||
            operator: field_programme_target_id_op
 | 
			
		||||
            operator_limit_selection: false
 | 
			
		||||
            operator_list: {  }
 | 
			
		||||
            identifier: field_programme_target_id
 | 
			
		||||
            required: false
 | 
			
		||||
            remember: false
 | 
			
		||||
            multiple: false
 | 
			
		||||
            remember_roles:
 | 
			
		||||
              authenticated: authenticated
 | 
			
		||||
              anonymous: '0'
 | 
			
		||||
              admin: '0'
 | 
			
		||||
              root: '0'
 | 
			
		||||
              user: '0'
 | 
			
		||||
              editeur: '0'
 | 
			
		||||
            reduce: false
 | 
			
		||||
          is_grouped: false
 | 
			
		||||
          group_info:
 | 
			
		||||
            label: ''
 | 
			
		||||
            description: ''
 | 
			
		||||
            identifier: ''
 | 
			
		||||
            optional: true
 | 
			
		||||
            widget: select
 | 
			
		||||
            multiple: false
 | 
			
		||||
            remember: false
 | 
			
		||||
            default_group: All
 | 
			
		||||
            default_group_multiple: {  }
 | 
			
		||||
            group_items: {  }
 | 
			
		||||
          reduce_duplicates: false
 | 
			
		||||
          handler: 'default:node'
 | 
			
		||||
          handler_settings:
 | 
			
		||||
            target_bundles:
 | 
			
		||||
              programme: programme
 | 
			
		||||
            sort:
 | 
			
		||||
              field: _none
 | 
			
		||||
              direction: ASC
 | 
			
		||||
            auto_create: false
 | 
			
		||||
            auto_create_bundle: ''
 | 
			
		||||
          widget: select
 | 
			
		||||
          plugin_id: entity_reference
 | 
			
		||||
      defaults:
 | 
			
		||||
        filters: false
 | 
			
		||||
        filter_groups: false
 | 
			
		||||
@@ -3162,6 +3217,71 @@ display:
 | 
			
		||||
          separator: ', '
 | 
			
		||||
          field_api_classes: false
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        field_actif:
 | 
			
		||||
          id: field_actif
 | 
			
		||||
          table: node__field_actif
 | 
			
		||||
          field: field_actif
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: Actif
 | 
			
		||||
          exclude: false
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: false
 | 
			
		||||
            text: ''
 | 
			
		||||
            make_link: false
 | 
			
		||||
            path: ''
 | 
			
		||||
            absolute: false
 | 
			
		||||
            external: false
 | 
			
		||||
            replace_spaces: false
 | 
			
		||||
            path_case: none
 | 
			
		||||
            trim_whitespace: false
 | 
			
		||||
            alt: ''
 | 
			
		||||
            rel: ''
 | 
			
		||||
            link_class: ''
 | 
			
		||||
            prefix: ''
 | 
			
		||||
            suffix: ''
 | 
			
		||||
            target: ''
 | 
			
		||||
            nl2br: false
 | 
			
		||||
            max_length: 0
 | 
			
		||||
            word_boundary: true
 | 
			
		||||
            ellipsis: true
 | 
			
		||||
            more_link: false
 | 
			
		||||
            more_link_text: ''
 | 
			
		||||
            more_link_path: ''
 | 
			
		||||
            strip_tags: false
 | 
			
		||||
            trim: false
 | 
			
		||||
            preserve_tags: ''
 | 
			
		||||
            html: false
 | 
			
		||||
          element_type: ''
 | 
			
		||||
          element_class: ''
 | 
			
		||||
          element_label_type: ''
 | 
			
		||||
          element_label_class: ''
 | 
			
		||||
          element_label_colon: true
 | 
			
		||||
          element_wrapper_type: ''
 | 
			
		||||
          element_wrapper_class: ''
 | 
			
		||||
          element_default_classes: true
 | 
			
		||||
          empty: ''
 | 
			
		||||
          hide_empty: false
 | 
			
		||||
          empty_zero: false
 | 
			
		||||
          hide_alter_empty: true
 | 
			
		||||
          click_sort_column: value
 | 
			
		||||
          type: boolean
 | 
			
		||||
          settings:
 | 
			
		||||
            format: yes-no
 | 
			
		||||
            format_custom_true: ''
 | 
			
		||||
            format_custom_false: ''
 | 
			
		||||
          group_column: value
 | 
			
		||||
          group_columns: {  }
 | 
			
		||||
          group_rows: true
 | 
			
		||||
          delta_limit: 0
 | 
			
		||||
          delta_offset: 0
 | 
			
		||||
          delta_reversed: false
 | 
			
		||||
          delta_first_last: false
 | 
			
		||||
          multi_type: separator
 | 
			
		||||
          separator: ', '
 | 
			
		||||
          field_api_classes: false
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
      title: Projets
 | 
			
		||||
    display_plugin: page
 | 
			
		||||
    display_title: Projets
 | 
			
		||||
@@ -3178,6 +3298,7 @@ display:
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      max-age: 0
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.node.field_actif'
 | 
			
		||||
        - 'config:field.storage.node.field_comparatifs_associes'
 | 
			
		||||
        - 'config:field.storage.node.field_diaporama'
 | 
			
		||||
        - 'config:field.storage.node.field_memo'
 | 
			
		||||
@@ -5918,8 +6039,8 @@ display:
 | 
			
		||||
          settings:
 | 
			
		||||
            timezone_override: ''
 | 
			
		||||
            format: date_only
 | 
			
		||||
            force_chronological: 0
 | 
			
		||||
            add_classes: 0
 | 
			
		||||
            force_chronological: false
 | 
			
		||||
            add_classes: false
 | 
			
		||||
          group_column: value
 | 
			
		||||
          group_columns: {  }
 | 
			
		||||
          group_rows: true
 | 
			
		||||
 
 | 
			
		||||
@@ -545,6 +545,44 @@ display:
 | 
			
		||||
          entity_type: node
 | 
			
		||||
          entity_field: type
 | 
			
		||||
          plugin_id: bundle
 | 
			
		||||
        field_actif_value:
 | 
			
		||||
          id: field_actif_value
 | 
			
		||||
          table: node__field_actif
 | 
			
		||||
          field: field_actif_value
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          operator: '='
 | 
			
		||||
          value: '1'
 | 
			
		||||
          group: 1
 | 
			
		||||
          exposed: false
 | 
			
		||||
          expose:
 | 
			
		||||
            operator_id: ''
 | 
			
		||||
            label: ''
 | 
			
		||||
            description: ''
 | 
			
		||||
            use_operator: false
 | 
			
		||||
            operator: ''
 | 
			
		||||
            operator_limit_selection: false
 | 
			
		||||
            operator_list: {  }
 | 
			
		||||
            identifier: ''
 | 
			
		||||
            required: false
 | 
			
		||||
            remember: false
 | 
			
		||||
            multiple: false
 | 
			
		||||
            remember_roles:
 | 
			
		||||
              authenticated: authenticated
 | 
			
		||||
          is_grouped: false
 | 
			
		||||
          group_info:
 | 
			
		||||
            label: ''
 | 
			
		||||
            description: ''
 | 
			
		||||
            identifier: ''
 | 
			
		||||
            optional: true
 | 
			
		||||
            widget: select
 | 
			
		||||
            multiple: false
 | 
			
		||||
            remember: false
 | 
			
		||||
            default_group: All
 | 
			
		||||
            default_group_multiple: {  }
 | 
			
		||||
            group_items: {  }
 | 
			
		||||
          plugin_id: boolean
 | 
			
		||||
      filter_groups:
 | 
			
		||||
        operator: AND
 | 
			
		||||
        groups:
 | 
			
		||||
@@ -1027,7 +1065,7 @@ display:
 | 
			
		||||
            timezone_override: ''
 | 
			
		||||
            format: date_only
 | 
			
		||||
            force_chronological: false
 | 
			
		||||
            add_classes: 0
 | 
			
		||||
            add_classes: false
 | 
			
		||||
          group_column: value
 | 
			
		||||
          group_columns: {  }
 | 
			
		||||
          group_rows: true
 | 
			
		||||
@@ -1093,7 +1131,7 @@ display:
 | 
			
		||||
            timezone_override: ''
 | 
			
		||||
            format: date_only
 | 
			
		||||
            force_chronological: false
 | 
			
		||||
            add_classes: 0
 | 
			
		||||
            add_classes: false
 | 
			
		||||
          group_column: value
 | 
			
		||||
          group_columns: {  }
 | 
			
		||||
          group_rows: true
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user