countdown-8.x-1.8/modules/countdown_field/config/schema/countdown_field.schema.yml

modules/countdown_field/config/schema/countdown_field.schema.yml
# Field storage settings schema.
field.storage_settings.countdown:
  type: mapping
  label: 'Countdown field storage settings'
  mapping:
    default_library:
      type: string
      label: 'Default countdown library'

# Field instance settings schema.
field.field_settings.countdown:
  type: mapping
  label: 'Countdown field settings'
  mapping:
    allowed_libraries:
      type: sequence
      label: 'Allowed countdown libraries'
      sequence:
        type: string
    allow_event_details:
      type: boolean
      label: 'Allow event details'
    require_future_date:
      type: boolean
      label: 'Require future date for countdown'

# Widget settings schema.
field.widget.settings.countdown_default:
  type: mapping
  label: 'Countdown widget settings'
  mapping:
    show_preview:
      type: boolean
      label: 'Show preview'
    inline_labels:
      type: boolean
      label: 'Use inline labels'
    timezone_handling:
      type: string
      label: 'Timezone handling'
    method_override:
      type: boolean
      label: 'Allow method override'

# Formatter settings schema.
field.formatter.settings.countdown_default:
  type: mapping
  label: 'Countdown formatter settings'
  mapping:
    show_event_name:
      type: boolean
      label: 'Show event name'
    link_to_event:
      type: boolean
      label: 'Link to event URL'
    wrapper_class:
      type: string
      label: 'Wrapper CSS class'
    override_format:
      type: boolean
      label: 'Override display format'
    format_override:
      type: string
      label: 'Display format override'
    show_finish_message:
      type: boolean
      label: 'Show finish message'
    finish_message_override:
      type: string
      label: 'Finish message override'
    accessibility_label:
      type: boolean
      label: 'Add accessibility label'

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

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