Skip to content

Instantly share code, notes, and snippets.

@vijaycs85
Created April 16, 2013 14:33
Show Gist options
  • Save vijaycs85/5396391 to your computer and use it in GitHub Desktop.
Save vijaycs85/5396391 to your computer and use it in GitHub Desktop.
# Schema for configuration files of the Field module.
field.settings:
type: mapping
label: 'Field settings'
mapping:
purge_batch_size:
type: integer
label: 'Maximum number of field data records to purge'
field.field.*:
type: mapping
label: 'Field'
mapping:
id:
type: string
label: 'Machine name'
uuid:
type: string
label: 'UUID'
status:
type: boolean
label: 'Status'
langcode:
type: string
label: 'Default language'
type:
type: string
label: 'Type'
settings:
type: field.settings.[%parent.type]
module:
type: string
label: 'Module'
active:
type: boolean
label: 'Active'
entity_types:
type: sequence
label: 'Entity types'
sequence:
- type: string
label: 'Entity type'
storage:
type: mapping
label: 'Storage'
mapping:
type:
type: string
label: 'Type'
settings:
type: field.storage.[%parent.type].settings
module:
type: string
label: 'Module'
active:
type: boolean
label: 'Active'
locked:
type: boolean
label: 'Locked'
cardinality:
type: integer
label: 'Maximum number of values users can enter'
translatable:
type: boolean
label: 'Translatable'
indexes:
type: field.index.[%parent.type]
label: 'Indexes'
sequence:
- type: string
label: 'Index'
field.instance.*.*.*:
type: mapping
label: 'Field instance settings'
mapping:
id:
type: string
label: 'Machine name'
uuid:
type: string
label: 'UUID'
status:
type: boolean
label: 'Status'
langcode:
type: string
label: 'Default language'
field_uuid:
type: string
label: 'Field UUID'
entity_type:
type: string
label: 'Entity type'
bundle:
type: string
label: 'Bundle'
label:
type: label
label: 'Label'
description:
type: text
label: 'Help text'
required:
type: boolean
label: 'Required field'
default_value:
type: field_instance.[%parent.widget.type].default
default_value_function:
type: string
label: 'Default value funtion'
settings:
type: field_instance.[%parent.widget.type].settings
widget:
type: mapping
label: 'Widget settings'
mapping:
weight:
type: integer
label: 'Weight'
type:
type: string
label: 'Widget type'
settings:
type: field_instance.[%parent.type].widget.settings
module:
type: string
label: 'Module'
field_instance.text_textarea_with_summary.settings:
type: mapping
label: 'Text area with a summary'
mapping:
text_processing:
type: string
label: 'Text processing'
display_summary:
type: boolean
label: 'Summary input'
user_register_form:
type: boolean
label: 'Display on user registration form.'
field_instance.text_textarea_with_summary.default:
type: sequence
label: 'Defaule value'
sequence:
- type: mapping
label: 'Default'
mapping:
summary:
type: string
label: 'Summary'
value:
type: text
label: 'Body'
format:
type: string
label: 'Text format'
field_instance.text_textarea_with_summary.widget.settings:
type: mapping
label: 'Text area widget settings'
mapping:
rows:
type: integer
label: 'Rows'
placeholder:
type: label
label: 'Placeholder'
summary_rows:
type: integer
label: 'Summary rows'
field.settings.text_with_summary:
type: sequence
label: 'Default'
sequence:
- type: string
field.settings.taxonomy_term_reference:
type: mapping:
label: 'Taxonomy term reference settings'
mapping:
allowed_values:
type: sequence
label: 'Allowed values'
sequence:
- type: mapping
label: 'Allowed values'
mapping:
vocabulary:
type: string
label: 'Vocabulary'
parent:
type: string
value: 'Parent'
field.settings.image:
type: mapping
label: 'Image settings'
mapping:
uri_scheme:
type: string
label: 'Upload destination'
default_image:
type: string
label: 'Default image'
column_groups:
type: mapping
label: 'Column groups'
mapping:
file:
type: mapping
label: 'File settings'
mapping:
label:
type: label
label: 'Label'
columns:
type: sequence
label: 'Columns'
sequence:
- type: string
label: 'Column'
alt:
type: mapping
label: 'Alternative text'
mapping:
label:
type: label
label: 'Label'
translatable:
type: boolean
label: 'Translatable'
title:
type: mapping
label: 'Title text'
mapping:
label:
type: label
label: 'Label'
translatable:
type: boolean
label: 'Translatable'
field.index.image:
type: mapping
label: 'Image field index settings'
mapping:
fid:
type: sequence
label: 'Fields'
sequence:
- type: string
label: 'Field'
field.storage.field_sql_storage.settings:
type: sequence
label: 'Settings'
sequence:
- type: string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment