Initial Drupal 11 with DDEV setup
This commit is contained in:
@ -0,0 +1,93 @@
|
||||
# Schema for the configuration files of the Navigation module.
|
||||
|
||||
navigation.settings:
|
||||
type: config_object
|
||||
label: 'Navigation settings'
|
||||
constraints:
|
||||
FullyValidatable: ~
|
||||
mapping:
|
||||
logo:
|
||||
type: mapping
|
||||
label: 'Logo settings'
|
||||
mapping:
|
||||
provider:
|
||||
type: string
|
||||
label: 'Select Navigation logo handling'
|
||||
constraints:
|
||||
Choice:
|
||||
- default
|
||||
- hide
|
||||
- custom
|
||||
path:
|
||||
type: string
|
||||
label: 'Path'
|
||||
constraints:
|
||||
NotNull: [ ]
|
||||
max:
|
||||
type: mapping
|
||||
label: 'Logo maximum settings'
|
||||
mapping:
|
||||
filesize:
|
||||
type: integer
|
||||
label: 'Maximum file sizes (bytes)'
|
||||
constraints:
|
||||
NotNull: [ ]
|
||||
Range:
|
||||
min: 0
|
||||
height:
|
||||
type: integer
|
||||
label: 'Logo expected height'
|
||||
constraints:
|
||||
NotNull: [ ]
|
||||
Range:
|
||||
min: 0
|
||||
width:
|
||||
type: integer
|
||||
label: 'Logo expected width'
|
||||
constraints:
|
||||
NotNull: [ ]
|
||||
Range:
|
||||
min: 0
|
||||
constraints:
|
||||
ValidKeys: '<infer>'
|
||||
constraints:
|
||||
ValidKeys: '<infer>'
|
||||
|
||||
navigation.block_layout:
|
||||
type: config_object
|
||||
mapping:
|
||||
sections:
|
||||
type: sequence
|
||||
sequence:
|
||||
type: layout_builder.section
|
||||
|
||||
block.settings.navigation_menu:*:
|
||||
type: block_settings
|
||||
label: 'Menu block'
|
||||
mapping:
|
||||
level:
|
||||
type: integer
|
||||
label: 'Starting level'
|
||||
depth:
|
||||
type: integer
|
||||
label: 'Maximum number of levels'
|
||||
|
||||
block.settings.navigation_link:
|
||||
type: block_settings
|
||||
label: 'Link block'
|
||||
mapping:
|
||||
title:
|
||||
type: label
|
||||
label: 'Link title'
|
||||
uri:
|
||||
type: string
|
||||
label: 'URL'
|
||||
icon_class:
|
||||
type: string
|
||||
label: 'Icon CSS Class'
|
||||
constraints:
|
||||
Regex:
|
||||
pattern: '/^[a-z0-9_-]+$/'
|
||||
message: "The %value icon CSS class is not valid."
|
||||
constraints:
|
||||
FullyValidatable: ~
|
||||
Reference in New Issue
Block a user