Add and enable pathauto

Fixes #25
This commit is contained in:
Oliver Davies 2020-05-09 02:33:36 +01:00
parent 730b724ac4
commit 81726ef396
9 changed files with 282 additions and 1 deletions

View file

@ -8,6 +8,7 @@ module:
config: 0
config_filter: 0
config_ignore: 0
ctools: 0
custom: 0
datetime: 0
dblog: 0
@ -40,6 +41,7 @@ module:
update: 0
user: 0
views_ui: 0
pathauto: 1
xmlsitemap: 1
views: 10
paragraphs: 11

View file

@ -0,0 +1,22 @@
uuid: 1040f0ad-2e4a-4d3d-8d96-0ff42a36338d
langcode: en
status: true
dependencies:
module:
- node
id: blog_posts
label: 'Blog posts'
type: 'canonical_entities:node'
pattern: 'articles/[node:title]'
selection_criteria:
2b058943-84af-4ecc-ad48-37b8f407fff3:
id: node_type
bundles:
post: post
negate: false
context_mapping:
node: node
uuid: 2b058943-84af-4ecc-ad48-37b8f407fff3
selection_logic: and
weight: -5
relationships: { }

View file

@ -0,0 +1,22 @@
uuid: 11734262-9701-46b5-81e8-a1b83e6d0e09
langcode: en
status: true
dependencies:
module:
- node
id: page
label: Page
type: 'canonical_entities:node'
pattern: '[node:title]'
selection_criteria:
894873ef-43c4-414b-8a9b-6572b32423ff:
id: node_type
bundles:
page: page
negate: false
context_mapping:
node: node
uuid: 894873ef-43c4-414b-8a9b-6572b32423ff
selection_logic: and
weight: -5
relationships: { }

View file

@ -0,0 +1,22 @@
uuid: abde9c0e-bcd2-4803-a8fd-0b590ae9decb
langcode: en
status: true
dependencies:
module:
- node
id: talks
label: Talks
type: 'canonical_entities:node'
pattern: 'talks/[node:title]'
selection_criteria:
bf4513ca-ac62-4d81-9288-429f16aabcc1:
id: node_type
bundles:
talk: talk
negate: false
context_mapping:
node: node
uuid: bf4513ca-ac62-4d81-9288-429f16aabcc1
selection_logic: and
weight: -5
relationships: { }

View file

@ -0,0 +1,22 @@
enabled_entity_types:
- user
punctuation:
hyphen: 1
verbose: false
separator: '-'
max_length: 100
max_component_length: 100
transliterate: true
reduce_ascii: false
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
safe_tokens:
- alias
- path
- join-path
- login-url
- url
- url-brief
_core:
default_config_hash: SwvLp8snyPEExF41CaJJYdPUVomofLqtXvwciHc4cPg

View file

@ -0,0 +1,16 @@
uuid: 4c2dac5c-7163-4342-9bfe-1e5597358522
langcode: en
status: true
dependencies:
enforced:
module:
- node
module:
- pathauto
_core:
default_config_hash: lno8QThS348UX-kaUsagJtCnuPHKLXYnTQiF_9HSDWA
id: pathauto_update_alias_node
label: 'Update URL alias'
type: node
plugin: pathauto_update_alias
configuration: { }

View file

@ -0,0 +1,16 @@
uuid: 3fbbd57c-139b-4601-b659-dbea74c76b14
langcode: en
status: true
dependencies:
enforced:
module:
- user
module:
- pathauto
_core:
default_config_hash: x_ok_ZsfA4Xk4B_hVW3O4-3PcNoK57nXLz_Dlletidg
id: pathauto_update_alias_user
label: 'Update URL alias'
type: user
plugin: pathauto_update_alias
configuration: { }