From 6dbb135d967c6b8161589255ba8ab7f779c16e74 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 21 Aug 2020 12:41:10 +0100 Subject: [PATCH] Add pathauto pattern for blog post series terms Fixes #63 --- .../default/pathauto.pattern.blog_series.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 config/default/pathauto.pattern.blog_series.yml diff --git a/config/default/pathauto.pattern.blog_series.yml b/config/default/pathauto.pattern.blog_series.yml new file mode 100644 index 0000000..ab7135c --- /dev/null +++ b/config/default/pathauto.pattern.blog_series.yml @@ -0,0 +1,23 @@ +uuid: 9c3a7cca-0588-4db4-b834-e96e59aa7ff1 +langcode: en +status: true +dependencies: + module: + - ctools + - taxonomy +id: blog_series +label: 'Blog series' +type: 'canonical_entities:taxonomy_term' +pattern: 'blog/series/[term:name]' +selection_criteria: + 24d2fe6d-bb21-43dd-957d-828733f5bb31: + id: 'entity_bundle:taxonomy_term' + bundles: + blog_series: blog_series + negate: false + context_mapping: + taxonomy_term: taxonomy_term + uuid: 24d2fe6d-bb21-43dd-957d-828733f5bb31 +selection_logic: and +weight: -5 +relationships: { }