read-more.component.yml

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

File

core/profiles/demo_umami/themes/umami/components/read-more/read-more.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: Read More
  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. type: object
  11. required:
  12. - url
  13. properties:
  14. attributes:
  15. type: Drupal\Core\Template\Attribute
  16. title: Attributes
  17. description: Link attributes.
  18. url:
  19. type: string
  20. title: Read More url
  21. format: iri-reference
  22. slots:
  23. a11y:
  24. type: string
  25. title: Read More screen reader text
  26. text:
  27. type: string
  28. title: Read More text

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