Bachir Soussi Chiadmi пре 5 година
родитељ
комит
86393573f8

+ 34 - 0
config/sync/pathauto.pattern.articles.yml

@@ -0,0 +1,34 @@
+uuid: 4c7670d3-7c8e-4c64-b3f0-a5ff1015365c
+langcode: en
+status: true
+dependencies:
+  module:
+    - language
+    - node
+id: articles
+label: Articles
+type: 'canonical_entities:node'
+pattern: 'blabla/[node:title]'
+selection_criteria:
+  ff04a5fa-241d-492c-8c4e-b3f586c7857e:
+    id: node_type
+    bundles:
+      article: article
+    negate: false
+    context_mapping:
+      node: node
+    uuid: ff04a5fa-241d-492c-8c4e-b3f586c7857e
+  554d8b81-b27f-4692-bb12-212fbd3debdc:
+    id: language
+    langcodes:
+      en: en
+      fr: fr
+    negate: false
+    context_mapping:
+      language: 'node:langcode:language'
+    uuid: 554d8b81-b27f-4692-bb12-212fbd3debdc
+selection_logic: and
+weight: -10
+relationships:
+  'node:langcode:language':
+    label: Language

+ 36 - 0
config/sync/pathauto.pattern.company_showroom.yml

@@ -0,0 +1,36 @@
+uuid: d7a3d320-792c-40c3-a6e8-5b995b19ae41
+langcode: en
+status: true
+dependencies:
+  module:
+    - ctools
+    - language
+    - taxonomy
+id: company_showroom
+label: company/showroom
+type: 'canonical_entities:taxonomy_term'
+pattern: '[term:vocabulary]/[term:name]'
+selection_criteria:
+  ff28110e-cd6d-404a-8c6c-95d73a7d2e0d:
+    id: 'entity_bundle:taxonomy_term'
+    bundles:
+      company: company
+      showroom: showroom
+    negate: false
+    context_mapping:
+      taxonomy_term: taxonomy_term
+    uuid: ff28110e-cd6d-404a-8c6c-95d73a7d2e0d
+  aec4894c-82cb-4963-9407-3b7f7ed3977c:
+    id: language
+    langcodes:
+      en: en
+      fr: fr
+    negate: false
+    context_mapping:
+      language: 'taxonomy_term:langcode:language'
+    uuid: aec4894c-82cb-4963-9407-3b7f7ed3977c
+selection_logic: and
+weight: -10
+relationships:
+  'taxonomy_term:langcode:language':
+    label: Language

+ 34 - 0
config/sync/pathauto.pattern.materials.yml

@@ -0,0 +1,34 @@
+uuid: f982d5fb-cd72-46b1-a2fa-a79ed4e6eb89
+langcode: en
+status: true
+dependencies:
+  module:
+    - language
+    - node
+id: materials
+label: Materials
+type: 'canonical_entities:node'
+pattern: 'material/[node:title]'
+selection_criteria:
+  6ab2c97e-3a4a-4d06-ae77-078a5a680d2d:
+    id: node_type
+    bundles:
+      materiau: materiau
+    negate: false
+    context_mapping:
+      node: node
+    uuid: 6ab2c97e-3a4a-4d06-ae77-078a5a680d2d
+  ca973921-6657-45fd-860e-213e9ab1482e:
+    id: language
+    langcodes:
+      en: en
+      fr: fr
+    negate: false
+    context_mapping:
+      language: 'node:langcode:language'
+    uuid: ca973921-6657-45fd-860e-213e9ab1482e
+selection_logic: and
+weight: -10
+relationships:
+  'node:langcode:language':
+    label: Language

+ 34 - 0
config/sync/pathauto.pattern.newsletters.yml

@@ -0,0 +1,34 @@
+uuid: 043b0653-e4e6-4ed0-b265-3848f412830e
+langcode: en
+status: true
+dependencies:
+  module:
+    - language
+    - node
+id: newsletters
+label: newsletters
+type: 'canonical_entities:node'
+pattern: 'mailing/[node:title]'
+selection_criteria:
+  b1f50e6b-084a-4b4a-943b-94391c445fdd:
+    id: node_type
+    bundles:
+      simplenews_issue: simplenews_issue
+    negate: false
+    context_mapping:
+      node: node
+    uuid: b1f50e6b-084a-4b4a-943b-94391c445fdd
+  f81df763-d65a-432f-894e-e2017072bfd9:
+    id: language
+    langcodes:
+      en: en
+      fr: fr
+    negate: false
+    context_mapping:
+      language: 'node:langcode:language'
+    uuid: f81df763-d65a-432f-894e-e2017072bfd9
+selection_logic: and
+weight: -10
+relationships:
+  'node:langcode:language':
+    label: Language

+ 34 - 0
config/sync/pathauto.pattern.thematiques.yml

@@ -0,0 +1,34 @@
+uuid: 66d88c07-6ad3-41bc-98f0-65114286b0ea
+langcode: en
+status: true
+dependencies:
+  module:
+    - language
+    - node
+id: thematiques
+label: Thematiques
+type: 'canonical_entities:node'
+pattern: 'theme/[node:title]'
+selection_criteria:
+  0127e29a-402b-4906-a7e0-c9e9f857cf2b:
+    id: node_type
+    bundles:
+      thematique: thematique
+    negate: false
+    context_mapping:
+      node: node
+    uuid: 0127e29a-402b-4906-a7e0-c9e9f857cf2b
+  6c35ff6d-42ab-4e28-8695-97a94196d607:
+    id: language
+    langcodes:
+      en: en
+      fr: fr
+    negate: false
+    context_mapping:
+      language: 'node:langcode:language'
+    uuid: 6c35ff6d-42ab-4e28-8695-97a94196d607
+selection_logic: and
+weight: -10
+relationships:
+  'node:langcode:language':
+    label: Language

+ 2 - 3
config/sync/pathauto.settings.yml

@@ -1,5 +1,4 @@
-enabled_entity_types:
-  - user
+enabled_entity_types: {  }
 punctuation:
   double_quotes: 0
   quotes: 0
@@ -38,7 +37,7 @@ separator: '-'
 max_length: 100
 max_component_length: 100
 transliterate: true
-reduce_ascii: false
+reduce_ascii: true
 case: true
 ignore_words: 'a, an, as, at, before, but, by, for, from, is, in, into, like, of, off, on, onto, per, since, than, the, this, that, to, up, via, with'
 update_action: 2