Pathauto and dependencies

This commit is contained in:
Rob Davies 2017-05-22 15:12:47 +01:00
parent 4b1a293d57
commit 24ffcb956b
257 changed files with 29510 additions and 0 deletions

View file

@ -0,0 +1,13 @@
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

View file

@ -0,0 +1,9 @@
id: pathauto_update_alias_node
label: 'Update URL alias'
status: true
langcode: en
type: node
plugin: pathauto_update_alias
dependencies:
module:
- node

View file

@ -0,0 +1,9 @@
id: pathauto_update_alias_user
label: 'Update URL alias'
status: true
langcode: en
type: user
plugin: pathauto_update_alias
dependencies:
module:
- user

View file

@ -0,0 +1,36 @@
pathauto.settings:
type: config_object
mapping:
enabled_entity_types:
label: Enabled entity types
type: sequence
sequence:
type: string
punctuation:
type: sequence
sequence:
type: integer
verbose:
type: boolean
separator:
type: string
max_length:
type: integer
max_component_length:
type: integer
transliterate:
type: boolean
reduce_ascii:
type: boolean
ignore_words:
type: string
case:
type: boolean
ignore_words:
type: string
update_action:
type: integer
action.configuration.pathauto_update_alias:
type: action_configuration_default
label: 'Update URL alias'

View file

@ -0,0 +1,40 @@
pathauto.pattern.*:
type: config_entity
label: 'Pathauto pattern config'
mapping:
id:
type: string
label: 'ID'
label:
type: label
label: 'Label'
uuid:
type: string
type:
type: string
label: 'Pattern type'
pattern:
type: string
label: 'Pattern'
selection_criteria:
type: sequence
label: 'Selection criteria'
sequence:
type: condition.plugin.[id]
label: 'Selection condition'
selection_logic:
type: string
label: 'Selection logic'
weight:
type: integer
label: 'Weight'
relationships:
type: sequence
label: 'Context definitions'
sequence:
- type: mapping
label: 'Relationship'
mapping:
label:
type: label
label: 'Label'