footer-block.component.yml

Same filename and directory in other branches
  1. 10 core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.component.yml
core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.component.yml

File

core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.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: Footer Block
  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 always hold arbitrary markup. We know that beforehand, so no need for
  19. # a schema for slots.
  20. slots:
  21. # The key is the name of the slot. In your template you will use
  22. # {% block content %}.
  23. content:
  24. title: Content
  25. image:
  26. title: Image

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