1 # Base types provided by Drupal core.
3 # Read https://www.drupal.org/node/1905070 for more details about configuration
4 # schema, types and type resolution.
6 # Undefined type used by the system to assign to elements at any level where
7 # configuration schema is not defined. Using explicitly has the same effect as
8 # not defining schema, so there is no point in doing that.
11 class: '\Drupal\Core\Config\Schema\Undefined'
13 # Explicit type to use when no data typing is possible. Instead of using this
14 # type, we strongly suggest you use configuration structures that can be
15 # described with other structural elements of schema, and describe your schema
16 # with those elements.
19 class: '\Drupal\Core\Config\Schema\Ignore'
21 # Basic scalar data types from typed data.
24 class: '\Drupal\Core\TypedData\Plugin\DataType\BooleanData'
27 class: '\Drupal\Core\TypedData\Plugin\DataType\Email'
30 class: '\Drupal\Core\TypedData\Plugin\DataType\IntegerData'
33 class: '\Drupal\Core\TypedData\Plugin\DataType\FloatData'
36 class: '\Drupal\Core\TypedData\Plugin\DataType\StringData'
39 class: '\Drupal\Core\TypedData\Plugin\DataType\Uri'
41 # Container data types for lists with known and unknown keys.
44 class: '\Drupal\Core\Config\Schema\Mapping'
45 definition_class: '\Drupal\Core\TypedData\MapDataDefinition'
48 class: '\Drupal\Core\Config\Schema\Sequence'
49 definition_class: '\Drupal\Core\TypedData\ListDataDefinition'
51 # Simple extended data types:
53 # Human readable string that must be plain text and editable with a text field.
59 # String containing plural variants, separated by EXT.
62 label: 'Plural variants'
64 # Internal Drupal path
69 # Human readable string that can contain multiple lines of text or HTML.
75 # PHP Date format string that is translatable.
80 translation context: 'PHP date format'
87 # Complex extended data types:
89 # Root of a configuration object.
96 label: 'Default configuration hash'
103 label: 'Language code'
105 type: _core_config_info
107 # Mail text with subject and body parts.
119 # Filter with module and status.
137 type: filter_settings.[%parent.id]
139 # System action configuration base.
140 action_configuration_default:
142 label: 'Action configuration'
151 label: 'Shortcut icon settings'
164 label: 'Use the default shortcut icon supplied by the theme'
167 label: 'Optional features'
169 comment_user_picture:
171 label: 'User pictures in comments'
172 comment_user_verification:
174 label: 'User verification status in comments'
177 label: 'Shortcut icon'
186 label: 'User pictures in posts'
192 label: 'Logo settings'
203 third_party_settings:
205 label: 'Third party settings'
207 type: theme_settings.third_party.[%key]
209 views_field_bulk_form:
211 label: 'Bulk operation'
215 label: 'Action title'
218 label: 'Available actions'
221 label: 'Available actions'
226 # Array of routes with route_name and route_params keys.
236 label: 'Route Params'
241 # Config dependencies.
242 config_dependencies_base:
247 label: 'Configuration entity dependencies'
252 label: 'Content entity dependencies'
257 label: 'Module dependencies'
262 label: 'Theme dependencies'
267 type: config_dependencies_base
268 label: 'Configuration dependencies'
271 type: config_dependencies_base
272 label: 'Enforced configuration dependencies'
282 label: 'Language code'
287 type: config_dependencies
288 label: 'Dependencies'
289 third_party_settings:
291 label: 'Third party settings'
293 type: '[%parent.%parent.%type].third_party.[%key]'
295 type: _core_config_info
299 label: 'Block settings'
309 label: 'Display title'
324 label: 'Context assignments'
343 label: 'Context assignments'
347 display_variant.plugin:
349 label: 'Display variant'
364 layout_plugin.settings:
366 label: 'Layout settings'
368 layout_plugin.settings.*:
369 type: layout_plugin.settings
371 base_entity_reference_field_settings:
376 label: 'Type of item to reference'
401 label: 'Required field'
404 label: 'Translatable'
407 label: 'Default values'
409 type: field.value.[%parent.%parent.field_type]
410 label: 'Default value'
411 default_value_callback:
413 label: 'Default value callback'
415 type: field.field_settings.[%parent.field_type]
420 core.base_field_override.*.*.*:
421 type: field_config_base
422 label: 'Base field bundle override'
438 type: core_date_format_pattern.[%parent.locked]
439 label: 'PHP date format'
441 # Unlocked date formats should use the translatable type.
442 core_date_format_pattern.0:
446 # Locked date formats are just used to transport the value.
447 core_date_format_pattern.1:
451 # Generic field settings schemas.
453 field.storage_settings.*:
457 field.field_settings.*:
463 label: 'Default value'
465 # Schema for the configuration of the String field type.
467 field.storage_settings.string:
469 label: 'String settings'
473 label: 'Maximum length'
476 label: 'Case sensitive'
479 label: 'Contains US ASCII characters only'
481 field.field_settings.string:
483 label: 'String settings'
487 label: 'Default value'
493 # Schema for the configuration of the String (long) field type.
495 field.storage_settings.string_long:
497 label: 'String (long) settings'
501 label: 'Case sensitive'
503 field.field_settings.string_long:
505 label: 'String (long) settings'
507 field.value.string_long:
509 label: 'Default value'
515 # Schema for the configuration of the URI field type.
517 field.storage_settings.uri:
518 type: field.storage_settings.string
519 label: 'URI settings'
523 label: 'Maximum length'
526 label: 'Case sensitive'
528 field.field_settings.uri:
530 label: 'URI settings'
534 label: 'Default value'
540 # Schema for the configuration of the Created field type.
542 field.storage_settings.created:
544 label: 'Created timestamp settings'
546 field.field_settings.created:
548 label: 'Created timestamp settings'
552 label: 'Default value'
558 # Schema for the configuration of the Changed field type.
560 field.storage_settings.changed:
562 label: 'Changed timestamp settings'
564 field.field_settings.changed:
566 label: 'Changed timestamp settings'
570 label: 'Default value'
576 # Schema for the configuration of the Entity reference field type.
578 field.storage_settings.entity_reference:
580 label: 'Entity reference field storage settings'
584 label: 'Type of item to reference'
586 field.field_settings.entity_reference:
588 label: 'Entity reference field settings'
592 label: 'Reference method'
594 type: entity_reference_selection.[%parent.handler]
595 label: 'Entity reference selection plugin settings'
597 field.value.entity_reference:
599 label: 'Default value'
608 # Schema for the configuration of the Boolean field type.
610 field.field_settings.boolean:
611 label: 'Boolean settings'
628 # Schema for the configuration of the Email field type.
630 field.storage_settings.email:
632 label: 'Email settings'
634 field.field_settings.email:
636 label: 'Email settings'
643 label: 'Default value'
649 # Schema for the configuration of the Integer field type.
651 field.storage_settings.integer:
653 label: 'Integer settings'
660 label: 'Database storage size'
662 field.field_settings.integer:
681 label: 'Default value'
687 # Schema for the configuration of the Decimal field type.
689 field.storage_settings.decimal:
691 label: 'Decimal settings'
700 field.field_settings.decimal:
702 label: 'Decimal settings'
719 label: 'Default value'
725 # Schema for the configuration of the Float field type.
727 field.storage_settings.float:
729 label: 'Float settings'
731 field.field_settings.float:
733 label: 'Float settings'
750 label: 'Default value'
756 # Text with a text format.
759 label: 'Text with text format'
760 # We declare the entire mapping of text and text format as translatable. This
761 # causes the entire mapping to be saved to the language overrides of the
762 # configuration. Storing only the (to be formatted) text could result in
763 # security problems in case the text format of the source text is changed.
769 # Mark the actual text as translatable (in addition to the entire mapping
770 # being marked as translatable) so that shipped configuration with
771 # formatted text can participate in the string translation system.
776 # The text format should not be translated as part of the string
777 # translation system, so this is not marked as translatable.
779 # Schema for the configuration of the Entity reference selection plugins.
781 entity_reference_selection:
783 label: 'Entity reference selection plugin configuration'
794 label: 'Sort settings'
801 label: 'Sort direction'
804 label: 'Create referenced entities if they don''t already exist'
807 label: 'Bundle assigned to the auto-created entities.'
809 entity_reference_selection.*:
810 type: entity_reference_selection