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\Config\Schema\SequenceDataDefinition'
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.
82 # PHP Date format string that is translatable.
87 translation context: 'PHP date format'
94 # Complex extended data types:
96 # Root of a configuration object.
103 label: 'Default configuration hash'
110 label: 'Language code'
112 type: _core_config_info
114 # Mail text with subject and body parts.
126 # Filter with module and status.
144 type: filter_settings.[%parent.id]
146 # System action configuration base.
147 action_configuration_default:
149 label: 'Action configuration'
158 label: 'Shortcut icon settings'
171 label: 'Use the default shortcut icon supplied by the theme'
174 label: 'Optional features'
176 comment_user_picture:
178 label: 'User pictures in comments'
179 comment_user_verification:
181 label: 'User verification status in comments'
184 label: 'Shortcut icon'
193 label: 'User pictures in posts'
199 label: 'Logo settings'
210 third_party_settings:
212 label: 'Third party settings'
214 type: theme_settings.third_party.[%key]
216 views_field_bulk_form:
218 label: 'Bulk operation'
222 label: 'Action title'
225 label: 'Available actions'
228 label: 'Available actions'
233 # Array of routes with route_name and route_params keys.
243 label: 'Route Params'
248 # Config dependencies.
249 config_dependencies_base:
254 label: 'Configuration entity dependencies'
259 label: 'Content entity dependencies'
264 label: 'Module dependencies'
269 label: 'Theme dependencies'
274 type: config_dependencies_base
275 label: 'Configuration dependencies'
278 type: config_dependencies_base
279 label: 'Enforced configuration dependencies'
289 label: 'Language code'
294 type: config_dependencies
295 label: 'Dependencies'
296 third_party_settings:
298 label: 'Third party settings'
300 type: '[%parent.%parent.%type].third_party.[%key]'
302 type: _core_config_info
306 label: 'Block settings'
316 label: 'Display title'
331 label: 'Context assignments'
349 label: 'Context assignments'
353 display_variant.plugin:
355 label: 'Display variant'
369 layout_plugin.settings:
371 label: 'Layout settings'
373 layout_plugin.settings.*:
374 type: layout_plugin.settings
376 base_entity_reference_field_settings:
381 label: 'Type of item to reference'
406 label: 'Required field'
409 label: 'Translatable'
412 label: 'Default values'
414 type: field.value.[%parent.%parent.field_type]
415 label: 'Default value'
416 default_value_callback:
418 label: 'Default value callback'
420 type: field.field_settings.[%parent.field_type]
425 core.base_field_override.*.*.*:
426 type: field_config_base
427 label: 'Base field bundle override'
443 type: core_date_format_pattern.[%parent.locked]
444 label: 'PHP date format'
446 # Unlocked date formats should use the translatable type.
447 core_date_format_pattern.0:
451 # Locked date formats are just used to transport the value.
452 core_date_format_pattern.1:
456 # Generic field settings schemas.
458 field.storage_settings.*:
462 field.field_settings.*:
468 label: 'Default value'
470 # Schema for the configuration of the String field type.
472 field.storage_settings.string:
474 label: 'String settings'
478 label: 'Maximum length'
481 label: 'Case sensitive'
484 label: 'Contains US ASCII characters only'
486 field.field_settings.string:
488 label: 'String settings'
492 label: 'Default value'
498 # Schema for the configuration of the String (long) field type.
500 field.storage_settings.string_long:
502 label: 'String (long) settings'
506 label: 'Case sensitive'
508 field.field_settings.string_long:
510 label: 'String (long) settings'
512 field.value.string_long:
514 label: 'Default value'
520 # Schema for the configuration of the URI field type.
522 field.storage_settings.uri:
523 type: field.storage_settings.string
524 label: 'URI settings'
528 label: 'Maximum length'
531 label: 'Case sensitive'
533 field.field_settings.uri:
535 label: 'URI settings'
539 label: 'Default value'
545 # Schema for the configuration of the Created field type.
547 field.storage_settings.created:
549 label: 'Created timestamp settings'
551 field.field_settings.created:
553 label: 'Created timestamp settings'
557 label: 'Default value'
563 # Schema for the configuration of the Changed field type.
565 field.storage_settings.changed:
567 label: 'Changed timestamp settings'
569 field.field_settings.changed:
571 label: 'Changed timestamp settings'
575 label: 'Default value'
581 # Schema for the configuration of the Entity reference field type.
583 field.storage_settings.entity_reference:
585 label: 'Entity reference field storage settings'
589 label: 'Type of item to reference'
591 field.field_settings.entity_reference:
593 label: 'Entity reference field settings'
597 label: 'Reference method'
599 type: entity_reference_selection.[%parent.handler]
600 label: 'Entity reference selection plugin settings'
602 field.value.entity_reference:
604 label: 'Default value'
612 # Schema for the configuration of the Boolean field type.
614 field.field_settings.boolean:
615 label: 'Boolean settings'
632 # Schema for the configuration of the Email field type.
634 field.storage_settings.email:
636 label: 'Email settings'
638 field.field_settings.email:
640 label: 'Email settings'
647 label: 'Default value'
653 # Schema for the configuration of the Integer field type.
655 field.storage_settings.integer:
657 label: 'Integer settings'
664 label: 'Database storage size'
666 field.field_settings.integer:
685 label: 'Default value'
691 # Schema for the configuration of the Decimal field type.
693 field.storage_settings.decimal:
695 label: 'Decimal settings'
704 field.field_settings.decimal:
706 label: 'Decimal settings'
723 label: 'Default value'
729 # Schema for the configuration of the Float field type.
731 field.storage_settings.float:
733 label: 'Float settings'
735 field.field_settings.float:
737 label: 'Float settings'
754 label: 'Default value'
760 # Schema for the configuration of the Timestamp field type.
762 field.value.timestamp:
764 label: 'Timestamp value'
770 # Text with a text format.
773 label: 'Text with text format'
774 # We declare the entire mapping of text and text format as translatable. This
775 # causes the entire mapping to be saved to the language overrides of the
776 # configuration. Storing only the (to be formatted) text could result in
777 # security problems in case the text format of the source text is changed.
783 # Mark the actual text as translatable (in addition to the entire mapping
784 # being marked as translatable) so that shipped configuration with
785 # formatted text can participate in the string translation system.
790 # The text format should not be translated as part of the string
791 # translation system, so this is not marked as translatable.
793 # Base schema for all entity reference selection handler schemas.
794 entity_reference_selection:
796 label: 'Entity reference selection handler settings'
800 label: 'Type of item to reference'
802 # Schema for all entity reference selection handlers that are not providing a
804 entity_reference_selection.*:
805 type: entity_reference_selection
807 # Schema for the entity reference 'default' selection handler settings.
808 entity_reference_selection.default:
809 type: entity_reference_selection
810 label: 'Default selection handler settings'
821 label: 'Sort settings'
828 label: 'Sort direction'
831 label: 'Create referenced entities if they don''t already exist'
834 label: 'Bundle assigned to the auto-created entities.'
836 # Schema for all entity reference 'default:*' selection handlers that are not
837 # providing a specific schema.
838 entity_reference_selection.default:*:
839 type: entity_reference_selection.default