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,38 @@
'$schema': 'https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json'
name: {{ component_name }}
status: stable
{% if component_description %}
description: {{ component_description }}
{% endif %}
{% if component_libraries|length > 0 %}
libraryOverrides:
dependencies:
{% for library in component_libraries %}
- {{ library }}
{% endfor %}
{% endif %}
{% if component_props|length > 0 %}
props:
type: object
properties:
{% for prop in component_props %}
{{ prop.name }}:
type: {{ prop.type }}
title: {{ prop.title }}
{% if prop.description %}
description: {{ prop.description }}
{% endif %}
# @todo Add examples here.
examples: []
{% endfor %}
{% endif %}
{% if component_slots|length > 0 %}
slots:
{% for slot in component_slots %}
{{ slot.name }}:
title: {{ slot.title }}
{% if slot.description %}
description: {{ slot.description }}
{% endif %}
{% endfor %}
{% endif %}