Add Pathauto for daily email nodes

This commit is contained in:
Oliver Davies 2025-05-11 10:47:19 +01:00
parent ac1484b1e0
commit f3c35423cf
7 changed files with 243 additions and 1 deletions

View file

@ -72,6 +72,7 @@ module:
user: 0
views_ui: 0
yoast_seo: 0
pathauto: 1
views: 10
paragraphs: 11
standard: 1000

View file

@ -0,0 +1,22 @@
uuid: 19727077-00aa-40f5-9bcc-152de6b69ecf
langcode: en
status: true
dependencies:
module:
- node
id: daily_email_nodes
label: 'Daily email nodes'
type: 'canonical_entities:node'
pattern: 'daily/[node:created:custom:Y]/[node:created:custom:m]/[node:created:custom:d]/[node:title]'
selection_criteria:
b72f0ab5-74b3-4eaf-80ed-d3c3c7241b00:
id: 'entity_bundle:node'
negate: false
uuid: b72f0ab5-74b3-4eaf-80ed-d3c3c7241b00
context_mapping:
node: node
bundles:
daily_email: daily_email
selection_logic: and
weight: -5
relationships: { }

View file

@ -0,0 +1,22 @@
_core:
default_config_hash: SwvLp8snyPEExF41CaJJYdPUVomofLqtXvwciHc4cPg
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

View file

@ -0,0 +1,16 @@
uuid: c54e0bed-d2ef-4cdb-87ed-ba10a1860d9a
langcode: en
status: true
dependencies:
module:
- pathauto
enforced:
module:
- node
_core:
default_config_hash: Cr0CsPUSuio4ClP7bOTqHBefJOLtN5KPyKyYj9E4qvQ
id: pathauto_update_alias_node
label: 'Update URL alias'
type: node
plugin: pathauto_update_alias
configuration: { }

View file

@ -0,0 +1,16 @@
uuid: 2de04176-3ca1-4afd-b8ac-2ec983a31e4e
langcode: en
status: true
dependencies:
module:
- pathauto
enforced:
module:
- user
_core:
default_config_hash: 6eiNWATGTd3lUEKuxNPNyDRDVMsUlM0HS90_R6JJLUI
id: pathauto_update_alias_user
label: 'Update URL alias'
type: user
plugin: pathauto_update_alias
configuration: { }