commerce_donation_flow-1.0.x-dev/components/fieldsets/dedication/dedication.component.yml
components/fieldsets/dedication/dedication.component.yml
# Everything in this file is optional. Still, the file needs to exist. Adding
# metadata here will improve the DX when using components.
# This is so your IDE knows about the syntax for fixes and autocomplete.
$schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
# The human-readable name.
name: Dedication
# Status can be: "experimental", "stable", "deprecated", "obsolete".
status: stable
# Use this key to organize components together.
group: Fieldset
# Schema for the props. We support www.json-schema.org. Learn more about the
# syntax there.
props:
# Props are always an object with keys. Each key is a variable in your
# component template.
type: object
properties:
# The key is the name of the variable in the template.
legend:
# You can add a human-readable name to your props.
title: Legend
type: string
dedication_type:
title: Dedication type
type: string
honoree_first:
title: Honoree's first name
type: string
honoree_last:
title: Honoree's last name
type: string
libraryOverrides:
dependencies:
- core/drupal
- core/once
