Browse Source

admin views update for path aliases

Bachir Soussi Chiadmi 5 years ago
parent
commit
93900611bc

+ 34 - 0
sites/default/config/sync/pathauto.pattern.evenements.yml

@@ -0,0 +1,34 @@
+uuid: 25614ed4-9214-4158-8636-553eacae4f72
+langcode: fr
+status: true
+dependencies:
+  module:
+    - language
+    - node
+id: evenements
+label: Evenements
+type: 'canonical_entities:node'
+pattern: 'event/[node:title]'
+selection_criteria:
+  eb85aab9-7eb8-4106-9f4e-149219759e77:
+    id: node_type
+    bundles:
+      evenement: evenement
+    negate: false
+    context_mapping:
+      node: node
+    uuid: eb85aab9-7eb8-4106-9f4e-149219759e77
+  bc7b9f91-326f-4874-9e24-99bb23664030:
+    id: language
+    langcodes:
+      fr: fr
+      en: en
+    negate: false
+    context_mapping:
+      language: 'node:langcode:language'
+    uuid: bc7b9f91-326f-4874-9e24-99bb23664030
+selection_logic: and
+weight: -10
+relationships:
+  'node:langcode:language':
+    label: Langue

+ 15 - 3
sites/default/config/sync/pathauto.pattern.page_static.yml

@@ -3,20 +3,32 @@ langcode: fr
 status: true
 dependencies:
   module:
+    - language
     - node
 id: page_static
 label: 'Page static'
 type: 'canonical_entities:node'
 pattern: '[node:title]'
 selection_criteria:
-  d42c2764-a83c-47db-9da6-5c680b413fe0:
+  f25b8f55-10eb-4f5c-831b-836540708521:
     id: node_type
     bundles:
       static: static
     negate: false
     context_mapping:
       node: node
-    uuid: d42c2764-a83c-47db-9da6-5c680b413fe0
+    uuid: f25b8f55-10eb-4f5c-831b-836540708521
+  ff39fd1d-971e-4f07-9951-bcb69985022c:
+    id: language
+    langcodes:
+      fr: fr
+      en: en
+    negate: false
+    context_mapping:
+      language: 'node:langcode:language'
+    uuid: ff39fd1d-971e-4f07-9951-bcb69985022c
 selection_logic: and
 weight: -5
-relationships: {  }
+relationships:
+  'node:langcode:language':
+    label: Langue

+ 15 - 3
sites/default/config/sync/pathauto.pattern.pages_production.yml

@@ -3,20 +3,32 @@ langcode: fr
 status: true
 dependencies:
   module:
+    - language
     - node
 id: pages_production
 label: 'Pages Production'
 type: 'canonical_entities:node'
 pattern: 'productions/[node:title]'
 selection_criteria:
-  be9abb77-f7a9-4ffd-b587-bb6199f8c1b8:
+  80d5f68e-bdce-43c5-bcc0-20fbf723b117:
     id: node_type
     bundles:
       page: page
     negate: false
     context_mapping:
       node: node
-    uuid: be9abb77-f7a9-4ffd-b587-bb6199f8c1b8
+    uuid: 80d5f68e-bdce-43c5-bcc0-20fbf723b117
+  28dcfb59-8766-452b-9a2d-545925e10d66:
+    id: language
+    langcodes:
+      fr: fr
+      en: en
+    negate: false
+    context_mapping:
+      language: 'node:langcode:language'
+    uuid: 28dcfb59-8766-452b-9a2d-545925e10d66
 selection_logic: and
 weight: -5
-relationships: {  }
+relationships:
+  'node:langcode:language':
+    label: Langue

+ 153 - 92
sites/default/config/sync/views.view.content.yml

@@ -1653,14 +1653,14 @@ display:
           separator: ', '
           field_api_classes: false
           plugin_id: field
-        operations:
-          id: operations
+        view_node:
+          id: view_node
           table: node
-          field: operations
+          field: view_node
           relationship: none
           group_type: group
           admin_label: ''
-          label: Operations
+          label: 'Lien vers Content'
           exclude: false
           alter:
             alter_text: false
@@ -1701,16 +1701,19 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-          destination: true
-          plugin_id: entity_operations
-        field_son:
-          id: field_son
-          table: node__field_son
-          field: field_son
+          text: voir
+          output_url_as_text: true
+          absolute: false
+          entity_type: node
+          plugin_id: entity_link
+        operations:
+          id: operations
+          table: node
+          field: operations
           relationship: none
           group_type: group
           admin_label: ''
-          label: Son
+          label: Operations
           exclude: false
           alter:
             alter_text: false
@@ -1751,39 +1754,16 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-          click_sort_column: target_id
-          type: audiofield_audioplayer
-          settings:
-            audio_player: default_mp3_player
-            audio_player_jplayer_theme: none
-            audio_player_wavesurfer_combine_files: 0
-            audio_player_wordpress_combine_files: 0
-            audio_player_wordpress_animation: 0
-            audio_player_soundmanager_theme: default
-            audio_player_initial_volume: '8'
-            audio_player_autoplay: 0
-            audio_player_lazyload: 1
-            download_button: 0
-            download_link: 0
-          group_column: ''
-          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
-        view_node:
-          id: view_node
-          table: node
-          field: view_node
+          destination: true
+          plugin_id: entity_operations
+        field_son:
+          id: field_son
+          table: node__field_son
+          field: field_son
           relationship: none
           group_type: group
           admin_label: ''
-          label: 'Lien vers Content'
+          label: Son
           exclude: false
           alter:
             alter_text: false
@@ -1824,11 +1804,31 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-          text: voir
-          output_url_as_text: true
-          absolute: true
-          entity_type: node
-          plugin_id: entity_link
+          click_sort_column: target_id
+          type: audiofield_audioplayer
+          settings:
+            audio_player: default_mp3_player
+            audio_player_jplayer_theme: none
+            audio_player_wavesurfer_combine_files: 0
+            audio_player_wordpress_combine_files: 0
+            audio_player_wordpress_animation: 0
+            audio_player_soundmanager_theme: default
+            audio_player_initial_volume: '8'
+            audio_player_autoplay: 0
+            audio_player_lazyload: 1
+            download_button: 0
+            download_link: 0
+          group_column: ''
+          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
         term_node_tid:
           id: term_node_tid
           table: node_field_data
@@ -2983,14 +2983,14 @@ display:
           separator: ', '
           field_api_classes: false
           plugin_id: field
-        operations:
-          id: operations
+        view_node:
+          id: view_node
           table: node
-          field: operations
+          field: view_node
           relationship: none
           group_type: group
           admin_label: ''
-          label: Operations
+          label: 'Lien vers Content'
           exclude: false
           alter:
             alter_text: false
@@ -3031,16 +3031,19 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-          destination: true
-          plugin_id: entity_operations
-        field_son:
-          id: field_son
-          table: node__field_son
-          field: field_son
+          text: voir
+          output_url_as_text: true
+          absolute: false
+          entity_type: node
+          plugin_id: entity_link
+        operations:
+          id: operations
+          table: node
+          field: operations
           relationship: none
           group_type: group
           admin_label: ''
-          label: Son
+          label: Operations
           exclude: false
           alter:
             alter_text: false
@@ -3081,39 +3084,16 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-          click_sort_column: target_id
-          type: audiofield_audioplayer
-          settings:
-            audio_player: default_mp3_player
-            audio_player_jplayer_theme: none
-            audio_player_wavesurfer_combine_files: 0
-            audio_player_wordpress_combine_files: 0
-            audio_player_wordpress_animation: 0
-            audio_player_soundmanager_theme: default
-            audio_player_initial_volume: '8'
-            audio_player_autoplay: 0
-            audio_player_lazyload: 1
-            download_button: 0
-            download_link: 0
-          group_column: ''
-          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
-        view_node:
-          id: view_node
-          table: node
-          field: view_node
+          destination: true
+          plugin_id: entity_operations
+        field_son:
+          id: field_son
+          table: node__field_son
+          field: field_son
           relationship: none
           group_type: group
           admin_label: ''
-          label: 'Lien vers Content'
+          label: Son
           exclude: false
           alter:
             alter_text: false
@@ -3154,11 +3134,31 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-          text: voir
-          output_url_as_text: true
-          absolute: true
-          entity_type: node
-          plugin_id: entity_link
+          click_sort_column: target_id
+          type: audiofield_audioplayer
+          settings:
+            audio_player: default_mp3_player
+            audio_player_jplayer_theme: none
+            audio_player_wavesurfer_combine_files: 0
+            audio_player_wordpress_combine_files: 0
+            audio_player_wordpress_animation: 0
+            audio_player_soundmanager_theme: default
+            audio_player_initial_volume: '8'
+            audio_player_autoplay: 0
+            audio_player_lazyload: 1
+            download_button: 0
+            download_link: 0
+          group_column: ''
+          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
         field_nbr_locuteurs:
           id: field_nbr_locuteurs
           table: node__field_nbr_locuteurs
@@ -4336,6 +4336,59 @@ display:
           separator: ', '
           field_api_classes: false
           plugin_id: field
+        view_node:
+          id: view_node
+          table: node
+          field: view_node
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: 'Lien vers Content'
+          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
+          text: voir
+          output_url_as_text: true
+          absolute: false
+          entity_type: node
+          plugin_id: entity_link
         operations:
           id: operations
           table: node
@@ -4630,6 +4683,7 @@ display:
             status: status
             field_workflow_generic: field_workflow_generic
             operations: title
+            view_node: title
             field_date: field_date
             field_page_liee: field_page_liee
             name: name
@@ -4662,6 +4716,13 @@ display:
               separator: ''
               empty_column: false
               responsive: ''
+            view_node:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
             field_date:
               align: ''
               separator: ''