my-card.component.yml
Same filename in this branch
Same filename and directory in other branches
- 10 core/modules/sdc/tests/themes/sdc_theme_test_enforce_schema/components/my-card/my-card.component.yml
- 10 core/modules/sdc/tests/themes/sdc_theme_test/components/my-card/my-card.component.yml
- 10 core/modules/system/tests/themes/sdc_theme_test_enforce_schema/components/my-card/my-card.component.yml
- 10 core/modules/system/tests/themes/sdc_theme_test/components/my-card/my-card.component.yml
File
-
core/
modules/ system/ tests/ themes/ sdc_theme_test_enforce_schema/ components/ my-card/ my-card.component.yml
View source
- $schema: https://git.drupalcode.org/project/drupal/-/raw/HEAD/core/assets/schemas/v1/metadata.schema.json
- name: Card
- status: experimental
- replaces: 'sdc_theme_test:my-card'
- props:
- type: object
- required:
- - header
- properties:
- header:
- type: string
- title: Header
- description: The card header
- examples:
- - I am a header!
- slots:
- card_body:
- title: Body
- description: The contents of the card.
- examples:
- - <p>Foo is <strong>NOT</strong> bar.</p>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.