Initial Drupal 11 with DDEV setup

This commit is contained in:
gluebox
2025-10-08 11:39:17 -04:00
commit 89ef74b305
25344 changed files with 2599172 additions and 0 deletions

View File

@ -0,0 +1,39 @@
# Basic data types for image.
image_size:
type: mapping
constraints:
FullyValidatable: ~
mapping:
width:
type: integer
label: 'Width'
nullable: true
constraints:
NotBlank:
allowNull: true
height:
type: integer
label: 'Height'
nullable: true
constraints:
NotBlank:
allowNull: true
field_default_image:
type: mapping
mapping:
uuid:
type: uuid
alt:
type: label
label: 'Alternative text'
title:
type: label
label: 'Title'
width:
type: integer
label: 'Width'
height:
type: integer
label: 'Height'

View File

@ -0,0 +1,191 @@
# Schema for configuration files of the Image module.
image.style.*:
type: config_entity
label: 'Image style'
constraints:
FullyValidatable: ~
mapping:
name:
type: machine_name
label:
type: required_label
label: 'Label'
effects:
type: sequence
sequence:
type: mapping
mapping:
uuid:
type: uuid
id:
type: string
constraints:
PluginExists:
manager: plugin.manager.image.effect
interface: 'Drupal\image\ImageEffectInterface'
weight:
type: weight
data:
type: image.effect.[%parent.id]
image.effect.*:
type: mapping
label: 'Effect settings'
image.effect.image_crop:
type: image_size
label: 'Image crop'
mapping:
anchor:
label: 'Anchor'
type: string
image.effect.image_convert:
type: mapping
label: 'Convert'
mapping:
extension:
label: 'Extension'
type: string
constraints:
Choice:
callback: 'Drupal\Core\ImageToolkit\ImageToolkitManager::getAllValidExtensions'
image.effect.image_convert_avif:
type: image.effect.image_convert
label: 'Convert to AVIF'
image.effect.image_resize:
type: image_size
label: 'Image resize'
image.effect.image_rotate:
type: mapping
label: 'Image rotate'
mapping:
degrees:
type: integer
label: 'Rotation angle'
bgcolor:
label: 'Background color'
type: color_hex
random:
type: boolean
label: 'Randomize'
image.effect.image_scale:
type: image_size
label: 'Image scale'
mapping:
upscale:
type: boolean
label: 'Upscale'
# The image desaturate effect has no settings.
image.effect.image_desaturate:
type: sequence
image.effect.image_scale_and_crop:
type: image_size
label: 'Image scale and crop'
mapping:
anchor:
label: 'Anchor'
type: string
image.settings:
type: config_object
constraints:
FullyValidatable: ~
mapping:
preview_image:
type: string
label: 'Preview image'
constraints:
NotBlank: []
# We need to use Symfony's Image constraint because it will accept a file
# path as a string, whereas the File module's FileIsImage constraint expects
# a full file entity.
Image: []
allow_insecure_derivatives:
type: boolean
label: 'Allow insecure image derivatives'
suppress_itok_output:
type: boolean
label: 'Suppress the itok query string for image derivatives'
field.storage_settings.image:
type: field.storage_settings.file
label: 'Image settings'
mapping:
default_image:
type: field_default_image
label: 'Default value'
field.field_settings.image:
type: base_file_field_field_settings
label: 'Image settings'
mapping:
max_resolution:
type: string
label: 'Maximum image dimensions'
min_resolution:
type: string
label: 'Minimum image dimensions'
alt_field:
type: boolean
label: 'Enable Alt field'
alt_field_required:
type: boolean
label: 'Alt field required'
title_field:
type: boolean
label: 'Enable Title field'
title_field_required:
type: boolean
label: 'Title field required'
default_image:
type: field_default_image
label: 'Default value'
field.value.image:
type: field_default_image
label: 'Default value'
field.formatter.settings.image:
type: mapping
label: 'Image field display format settings'
mapping:
image_link:
type: string
label: 'Link image to'
image_style:
type: string
label: 'Image style'
image_loading:
type: mapping
label: 'Image loading settings'
mapping:
attribute:
type: string
label: 'Loading attribute'
field.formatter.settings.image_url:
type: mapping
label: 'Image URL formatter settings'
mapping:
image_style:
type: string
label: 'Image style'
field.widget.settings.image_image:
type: mapping
label: 'Image field display format settings'
mapping:
progress_indicator:
type: string
label: 'Progress indicator'
preview_image_style:
type: string
label: 'Preview image style'