cefrl-1.0.0-beta1/config/schema/cefrl.schema.yml

config/schema/cefrl.schema.yml
# Schema for the configuration files of the CEFRL field module.
cefrl.settings:
  type: config_object
  label: 'CEFRL field settings'
  mapping:
    definitions:
      type: sequence
      sequence:
        type: mapping
        mapping:
          id:
            type: string
            label: ID
          label:
            type: string
            translatable: true
            label: Label
          description:
            type: string
            translatable: true
            label: Description

# Field instance.
field.field_settings.cefrl:
  type: mapping
  label: CEFRL field settings
  mapping:
    allow_group_selection:
      type: boolean
      label: 'Allow selection of level group'
    include_native_speaker:
      type: boolean
      label: 'Include Native speaker option'

# Default value.
field.value.cefrl:
  type: mapping
  label: Default value
  mapping:
    level:
      type: string
      label: Level

# Views filter.
views.filter_value.cefrl_weight:
  type: mapping
  label: 'CEFRL weight'
  mapping:
    min:
      type: integer
      label: 'Min'
    max:
      type: integer
      label: 'And max'
    value:
      type: integer
      label: 'Value'

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

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