disclaimer.component.yml

Same filename in other branches
  1. 10 core/profiles/demo_umami/themes/umami/components/disclaimer/disclaimer.component.yml
core/profiles/demo_umami/themes/umami/components/disclaimer/disclaimer.component.yml

File

core/profiles/demo_umami/themes/umami/components/disclaimer/disclaimer.component.yml

View source
  1. # This is so your IDE knows about the syntax for fixes and autocomplete.
  2. $schema: https://git.drupalcode.org/project/drupal/-/raw/HEAD/core/assets/schemas/v1/metadata.schema.json
  3. # The human readable name.
  4. name: Disclaimer
  5. # Status can be: "experimental", "stable", "deprecated", "obsolete".
  6. status: experimental
  7. # Schema for the props. We support www.json-schema.org. Learn more about the
  8. # syntax there.
  9. props:
  10. # Props are always an object with keys. Each key is a variable in your
  11. # component template.
  12. type: object
  13. properties:
  14. attributes:
  15. type: Drupal\Core\Template\Attribute
  16. title: Attributes
  17. description: Wrapper attributes.
  18. slots:
  19. disclaimer:
  20. type: string
  21. description: Disclaimer text
  22. copyright:
  23. type: string
  24. description: Copyright text of Disclaimer
  25. examples:
  26. - Terms & Conditions

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.