fieldry-1.0.x-dev/config/schema/fieldry.schema.yml

config/schema/fieldry.schema.yml
# Field widget enhancements.
field.widget.third_party.fieldry:
  type: mapping
  mapping:
    field_item_removal:
      type: boolean
      label: 'Enable per item removal'

# Field formatter enhancements.
field.formatter.third_party.fieldry:
  type: mapping
  mapping:
    wrapper:
      type: string
      label: 'Field wrapper type'
    config:
      type: fieldry_wrapper.[%parent.wrapper]

# The base fieldry_wrapper plugin configuration.
fieldry_wrapper:
  type: mapping
  mapping:
    wrapper_tag:
      type: string
    wrapper_classes:
      type: sequence
      sequence:
        type: string
    title_tag:
      type: string
    title_classes:
      type: sequence
      sequence:
        type: string
    default_classes:
      type: boolean
      label: 'Apply default field CSS classes'

# Has no configurations and should just be an empty array.
fieldry_wrapper.default:
  type: mapping

fieldry_wrapper.standard:
  type: fieldry_wrapper
  mapping:
    item_tag:
      type: string
    item_classes:
      type: sequence
      sequence:
        type: string

fieldry_wrapper.list:
  type: fieldry_wrapper
  mapping:
    list_type:
      type: string
    list_classes:
      type: sequence
      sequence:
        type: string
    item_classes:
      type: sequence
      sequence:
        type: string

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc