From f5364acd5f60b44198daf2d2c7f379a2b5cce255 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 9 May 2020 02:29:50 +0100 Subject: [PATCH] Add pathauto patterns for tags Fixes #28 --- config/default/pathauto.pattern.tags.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 config/default/pathauto.pattern.tags.yml diff --git a/config/default/pathauto.pattern.tags.yml b/config/default/pathauto.pattern.tags.yml new file mode 100644 index 0000000..aa34ea0 --- /dev/null +++ b/config/default/pathauto.pattern.tags.yml @@ -0,0 +1,23 @@ +uuid: dd47a72f-bba0-4904-9328-d6948fe7b618 +langcode: en +status: true +dependencies: + module: + - ctools + - taxonomy +id: tags +label: Tags +type: 'canonical_entities:taxonomy_term' +pattern: 'articles/tags/[term:name]' +selection_criteria: + cb5277f9-f11a-4432-99b4-e47299612697: + id: 'entity_bundle:taxonomy_term' + bundles: + tags: tags + negate: false + context_mapping: + taxonomy_term: taxonomy_term + uuid: cb5277f9-f11a-4432-99b4-e47299612697 +selection_logic: and +weight: -5 +relationships: { }