branding.component.yml

Same filename in other branches
  1. 11.x core/profiles/demo_umami/themes/umami/components/branding/branding.component.yml
core/profiles/demo_umami/themes/umami/components/branding/branding.component.yml

File

core/profiles/demo_umami/themes/umami/components/branding/branding.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: Branding
  5. # Status can be: "experimental", "stable", "deprecated", "obsolete".
  6. status: experimental
  7. # Use this key to organize components together.
  8. group: Navigation
  9. # Schema for the props. We support www.json-schema.org. Learn more about the
  10. # syntax there.
  11. props:
  12. # Props are always an object with keys. Each key is a variable in your
  13. # component template.
  14. type: object
  15. properties:
  16. attributes:
  17. type: Drupal\Core\Template\Attribute
  18. title: Attributes
  19. description: Wrapper attributes.
  20. site_logo:
  21. type: string
  22. format: iri-reference
  23. url:
  24. type: string
  25. title: Branding url
  26. format: iri-reference
  27. slots:
  28. site_name:
  29. type: string
  30. site_slogan:
  31. type: string

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