smart_trim.schema.yml in Smart Trim 8
config/schema/smart_trim.schema.yml
File
config/schema/smart_trim.schema.ymlView source
- field.formatter.settings.smart_trim:
- type: mapping
- label: 'Smart trim formatter settings'
- mapping:
- trim_length:
- type: integer
- label: 'Trim length'
- trim_type:
- type: string
- label: 'Trim units'
- trim_suffix:
- type: string
- label: 'Suffix'
- wrap_output:
- type: boolean
- label: 'Wrap trimmed content'
- wrap_class:
- type: string
- label: 'Wrapped content class'
- more_link:
- type: boolean
- label: 'Display more link'
- more_class:
- type: string
- label: 'More link class'
- more_text:
- type: string
- label: 'More link text'
- more_aria_label:
- type: string
- label: 'More link aria-label value'
- summary_handler:
- type: string
- label: 'Summary handler'
- trim_options:
- type: mapping
- label: 'Additional options'
- mapping:
- text:
- type: boolean
- label: 'Strip HTML'
- trim_zero:
- type: boolean
- label: 'Honor a zero trim length'