You are here

smart_trim.schema.yml in Smart Trim 8

config/schema/smart_trim.schema.yml

File

config/schema/smart_trim.schema.yml
View source
  1. field.formatter.settings.smart_trim:
  2. type: mapping
  3. label: 'Smart trim formatter settings'
  4. mapping:
  5. trim_length:
  6. type: integer
  7. label: 'Trim length'
  8. trim_type:
  9. type: string
  10. label: 'Trim units'
  11. trim_suffix:
  12. type: string
  13. label: 'Suffix'
  14. wrap_output:
  15. type: boolean
  16. label: 'Wrap trimmed content'
  17. wrap_class:
  18. type: string
  19. label: 'Wrapped content class'
  20. more_link:
  21. type: boolean
  22. label: 'Display more link'
  23. more_class:
  24. type: string
  25. label: 'More link class'
  26. more_text:
  27. type: string
  28. label: 'More link text'
  29. more_aria_label:
  30. type: string
  31. label: 'More link aria-label value'
  32. summary_handler:
  33. type: string
  34. label: 'Summary handler'
  35. trim_options:
  36. type: mapping
  37. label: 'Additional options'
  38. mapping:
  39. text:
  40. type: boolean
  41. label: 'Strip HTML'
  42. trim_zero:
  43. type: boolean
  44. label: 'Honor a zero trim length'