
| Current Path : /var/www/html/rocksensor1/web/core/modules/shortcut/config/schema/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor1/web/core/modules/shortcut/config/schema/shortcut.schema.yml |
# Schema for the configuration files of the Shortcut module.
shortcut.set.*:
type: config_entity
label: 'Shortcut settings'
mapping:
id:
type: machine_name
label: 'ID'
# Shortcut set IDs are specifically limited to 23 characters, and allow
# dashes but not underscores.
# @see \Drupal\shortcut\ShortcutSetForm::form()
constraints:
Regex:
pattern: '/^[a-z0-9-]+$/'
message: "The %value machine name is not valid."
Length:
max: 23
label:
type: required_label
label: 'Label'
constraints:
FullyValidatable: ~
# Schema for theme settings.
theme_settings.third_party.shortcut:
type: mapping
label: 'Shortcut settings'
mapping:
module_link:
type: boolean
label: 'Add shortcut link'