Skip to content

Commit

Permalink
Merge pull request #393 from City-of-Helsinki/UHF-8679_other-language…
Browse files Browse the repository at this point in the history
…s-alias-pattern

UHF-8679: News item alias pattern for other languages
  • Loading branch information
dire authored Jun 21, 2023
2 parents 4cf3088 + 9c0da77 commit c5faa8d
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions conf/cmi/pathauto.pattern.news_item_other_languages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
uuid: 49345a03-e90c-4cc3-9416-c42d55b08908
langcode: en
status: true
dependencies:
module:
- language
- node
id: news_item_other_languages
label: 'News item | other languages'
type: 'canonical_entities:node'
pattern: 'news/[node:short-title]'
selection_criteria:
846ebfb3-db99-49ae-995f-bd9c76421de7:
id: 'entity_bundle:node'
negate: false
uuid: 846ebfb3-db99-49ae-995f-bd9c76421de7
context_mapping:
node: node
bundles:
news_item: news_item
e9eeca0d-99dd-4382-b774-038884ec062f:
id: language
negate: false
uuid: e9eeca0d-99dd-4382-b774-038884ec062f
context_mapping:
language: 'node:langcode:language'
langcodes:
de: de
fr: fr
ru: ru
uk: uk
ar: ar
et: et
fa: fa
es: es
so: so
se: se
zh-hans: zh-hans
selection_logic: and
weight: -10
relationships:
'node:langcode:language':
label: Language

0 comments on commit c5faa8d

Please sign in to comment.