addtocalendar-8.x-3.x-dev/config/schema/addtocalendar.schema.yml

config/schema/addtocalendar.schema.yml
addtocalendar.settings:
  type: config_object
  label: 'Add to Calendar Settings'
  mapping:
    addtocalendar_show:
      type: string
      label: 'Show Add to Calendar'
    style:
      type: string
      label: 'Select Style'
    display_text:
      type: text
      label: 'Display Text'
      translatable: true
    atc_title:
      type: string
      label: 'Title of the event'
    atc_description:
      type: string
      label: 'Description of the event'
    atc_location:
      type: string
      label: 'Location of the event'
    atc_privacy:
      type: string
      label: 'Privacy of the event'
    data_secure:
      type: string
      label: 'Security level'
    multiple_value:
      type: integer
      label: 'AddToCalendar button visibility'
    delta:
      type: integer
      label: 'AddToCalendar button visibility for a particular date field'

addtocalendar_setting:
  type: mapping
  mapping:
    field:
      type: string
      label: 'Field to be used'
    tokenized:
      type: string
      label: 'Static/Tokenized Content'

addtocalendar_settings:
  type: mapping
  mapping:
    addtocalendar_show:
      type: string
      label: 'Show Add to Calendar'
    style:
      type: string
      label: 'Select Style'
    display_text:
      type: text
      label: 'Display Text'
      translatable: true
    atc_title:
      type: addtocalendar_setting
    atc_description:
      type: addtocalendar_setting
    atc_location:
      type: addtocalendar_setting
    atc_organizer:
      type: addtocalendar_setting
    atc_organizer_email:
      type: addtocalendar_setting
    atc_date_start:
      type: addtocalendar_setting
    atc_date_end:
      type: addtocalendar_setting
    atc_privacy:
      type: string
      label: 'Privacy of the event'
    data_secure:
      type: string
      label: 'Security level'
    data_calendars:
      type: mapping
      mapping:
        Google Calendar:
          type: string
          label: 'Google Calendar'
        Outlook Online:
          type: string
          label: 'Outlook Online'
        iCalendar:
          type: string
          label: 'iCalendar'
        Outlook:
          type: string
          label: 'Outlook'
        Yahoo! Calendar:
          type: string
          label: 'Yahoo! Calendar'

field.field_settings.add_to_calendar_field:
  type: field.field_settings.boolean
  label: 'Add to calendar field settings'
  mapping:
    addtocalendar_show:
      type: integer
      label: 'Show Add to Calendar'
    addtocalendar_settings:
      type: addtocalendar_settings

field.value.add_to_calendar_field:
  type: mapping
  label: 'Default value'
  mapping:
    value:
      type: string
      label: 'Show Add to Calendar'

field.formatter.third_party.addtocalendar:
  type: mapping
  mapping:
    addtocalendar_show:
      type: integer
      label: 'Show Add to Calendar'
    addtocalendar_settings:
      type: addtocalendar_settings

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

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