diff --git a/core/includes/file.inc b/core/includes/file.inc index 545fca3..815afdc 100644 --- a/core/includes/file.inc +++ b/core/includes/file.inc @@ -1309,17 +1309,14 @@ function file_get_mimetype($uri, $mapping = NULL) { */ function drupal_chmod($uri, $mode = NULL) { if (!isset($mode)) { - // Configuration system stores default modes as strings. We use octdec() so - // that the octal permission numbers can be expressed as integers or strings - // and will be converted correctly in both cases. if (is_dir($uri)) { - $mode = octdec(\Drupal::config('system.file')->get('chmod.directory')); + $mode = \Drupal::config('system.file')->get('chmod.directory'); if (!$mode) { $mode = 0775; } } else { - $mode = octdec(\Drupal::config('system.file')->get('chmod.file')); + $mode = \Drupal::config('system.file')->get('chmod.file'); if (!$mode) { $mode = 0664; } @@ -1497,7 +1494,7 @@ function drupal_mkdir($uri, $mode = NULL, $recursive = FALSE, $context = NULL) { $mode = FALSE; // During early update there's no container. if (is_object(\Drupal::getContainer())) { - $mode = octdec(\Drupal::config('system.file')->get('chmod.directory')); + $mode = \Drupal::config('system.file')->get('chmod.directory'); } if (!$mode) { $mode = 0775; diff --git a/core/modules/action/config/schema/action.schema.yml b/core/modules/action/config/schema/action.schema.yml index fb7b289..04cec7e 100644 --- a/core/modules/action/config/schema/action.schema.yml +++ b/core/modules/action/config/schema/action.schema.yml @@ -7,3 +7,34 @@ action.settings: recursion_limit: type: integer label: 'Recursion limit for actions' + + +action.configuration.action_send_email_action: + type: mapping + label: 'Send e-mail configuration' + mapping: + recipient: + type: string + label: 'Recipient' + subject: + type: label + label: 'Subject' + message: + type: text + label: 'Message' + +action.configuration.action_goto_action: + type: mapping + label: 'Redirect to URL configuration' + mapping: + url: + type: string + label: 'URL' + +action.configuration.action_message_action: + type: mapping + label: 'Display a message to the user configuration' + mapping: + message: + type: text + label: 'Message' diff --git a/core/modules/action/tests/action_bulk_test/config/views.view.test_bulk_form.yml b/core/modules/action/tests/action_bulk_test/config/views.view.test_bulk_form.yml index a16655c..32cd83e 100644 --- a/core/modules/action/tests/action_bulk_test/config/views.view.test_bulk_form.yml +++ b/core/modules/action/tests/action_bulk_test/config/views.view.test_bulk_form.yml @@ -22,35 +22,35 @@ display: pager: type: full options: - items_per_page: '10' + items_per_page: 10 style: type: table options: grouping: { } row_class: '' - default_row_class: '1' - row_class_special: '1' - override: '1' - sticky: '0' + default_row_class: true + row_class_special: true + override: false + sticky: false summary: '' columns: title: title action_bulk_form: action_bulk_form info: title: - sortable: '0' + sortable: false default_sort_order: asc align: '' separator: '' - empty_column: '0' + empty_column: false responsive: '' bulk_form: align: '' separator: '' - empty_column: '0' + empty_column: false responsive: '' - default: '-1' - empty_table: '0' + default: -1 + empty_table: false row: type: fields fields: @@ -60,17 +60,17 @@ display: field: title label: '' alter: - alter_text: '0' - make_link: '0' - absolute: '0' - trim: '0' - word_boundary: '0' - ellipsis: '0' - strip_tags: '0' - html: '0' - hide_empty: '0' - empty_zero: '0' - link_to_node: '1' + alter_text: false + make_link: false + absolute: false + trim: false + word_boundary: false + ellipsis: false + strip_tags: false + html: false + hide_empty: false + empty_zero: false + link_to_node: true plugin_id: node provider: node action_bulk_form: @@ -81,57 +81,57 @@ display: group_type: group admin_label: '' label: 'Bulk form' - exclude: '0' + exclude: false alter: - alter_text: '0' + alter_text: false text: '' - make_link: '0' + make_link: false path: '' - absolute: '0' - external: '0' - replace_spaces: '0' + absolute: false + external: false + replace_spaces: false path_case: none - trim_whitespace: '0' + trim_whitespace: false alt: '' rel: '' link_class: '' prefix: '' suffix: '' target: '' - nl2br: '0' + nl2br: false max_length: '' - word_boundary: '1' - ellipsis: '1' - more_link: '0' + word_boundary: true + ellipsis: true + more_link: false more_link_text: '' more_link_path: '' - strip_tags: '0' - trim: '0' + strip_tags: false + trim: false preserve_tags: '' - html: '0' + html: false element_type: '' element_class: '' element_label_type: '' element_label_class: '' - element_label_colon: '1' + element_label_colon: true element_wrapper_type: '' element_wrapper_class: '' - element_default_classes: '1' + element_default_classes: true empty: '' - hide_empty: '0' - empty_zero: '0' - hide_alter_empty: '1' + hide_empty: false + empty_zero: false + hide_alter_empty: true plugin_id: action_bulk_form provider: action filters: status: - value: '1' + value: 1 table: node_field_data field: status id: status expose: - operator: '0' - group: '1' + operator: false + group: true plugin_id: boolean provider: views sorts: @@ -151,6 +151,6 @@ display: display_options: path: test_bulk_form base_field: nid -status: '1' +status: true module: views langcode: und diff --git a/core/modules/aggregator/config/views.view.aggregator_rss_feed.yml b/core/modules/aggregator/config/views.view.aggregator_rss_feed.yml index cf7a18b..2c72a39 100644 --- a/core/modules/aggregator/config/views.view.aggregator_rss_feed.yml +++ b/core/modules/aggregator/config/views.view.aggregator_rss_feed.yml @@ -42,7 +42,7 @@ display: id: 0 total_pages: 0 expose: - items_per_page: '0' + items_per_page: 0 items_per_page_label: 'Items per page' items_per_page_options: '5, 10, 20, 40, 60' items_per_page_options_all: false @@ -54,7 +54,7 @@ display: next: 'next ›' first: '« first' last: 'last »' - quantity: '9' + quantity: 9 style: type: default row: @@ -108,12 +108,12 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - set_precision: '0' - precision: '0' + set_precision: false + precision: 0 decimal: . separator: ',' - format_plural: '0' - format_plural_singular: '1' + format_plural: false + format_plural_singular: true format_plural_plural: '@count' prefix: '' suffix: '' diff --git a/core/modules/aggregator/tests/modules/aggregator_test/config/schema/aggregator_test.schema.yml b/core/modules/aggregator/tests/modules/aggregator_test/config/schema/aggregator_test.schema.yml new file mode 100644 index 0000000..63347da --- /dev/null +++ b/core/modules/aggregator/tests/modules/aggregator_test/config/schema/aggregator_test.schema.yml @@ -0,0 +1,13 @@ +# Schema for the configuration files of the Aggregator Test module. + +aggregator_test.settings: + type: mapping + label: 'Aggregator test settings' + mapping: + items: + type: mapping + label: 'Items' + mapping: + dummy_length: + type: integer + label: 'Dummy length' diff --git a/core/modules/aggregator/tests/modules/aggregator_test_views/test_views/views.view.test_aggregator_items.yml b/core/modules/aggregator/tests/modules/aggregator_test_views/test_views/views.view.test_aggregator_items.yml index c4e51f7..2d552d7 100644 --- a/core/modules/aggregator/tests/modules/aggregator_test_views/test_views/views.view.test_aggregator_items.yml +++ b/core/modules/aggregator/tests/modules/aggregator_test_views/test_views/views.view.test_aggregator_items.yml @@ -2,7 +2,7 @@ base_field: iid base_table: aggregator_item core: 8.x description: '' -status: '1' +status: true display: default: display_plugin: default @@ -36,7 +36,7 @@ display: id: title plugin_id: aggregator_title_link alter: - alter_text: '0' + alter_text: text: '' make_link: '0' path: '' @@ -73,32 +73,32 @@ display: id: author plugin_id: aggregator_xss alter: - alter_text: '0' + alter_text: false text: '' - make_link: '0' + make_link: false path: '' - absolute: '0' - external: '0' - replace_spaces: '0' + absolute: false + external: false + replace_spaces: false path_case: none - trim_whitespace: '0' + trim_whitespace: false alt: '' rel: '' link_class: '' prefix: '' suffix: '' target: '' - nl2br: '0' + nl2br: false max_length: '' - word_boundary: '1' - ellipsis: '1' - more_link: '0' + word_boundary: true + ellipsis: true + more_link: false more_link_text: '' more_link_path: '' - strip_tags: '0' - trim: '0' + strip_tags: false + trim: false preserve_tags: '' - html: '0' + html: false description: id: description table: aggregator_item @@ -107,46 +107,46 @@ display: group_type: group admin_label: '' label: Body - exclude: '0' + exclude: false alter: - alter_text: '0' + alter_text: false text: '' - make_link: '0' + make_link: false path: '' - absolute: '0' - external: '0' - replace_spaces: '0' + absolute: false + external: false + replace_spaces: false path_case: none - trim_whitespace: '0' + trim_whitespace: false alt: '' rel: '' link_class: '' prefix: '' suffix: '' target: '' - nl2br: '0' + nl2br: false max_length: '' - word_boundary: '1' - ellipsis: '1' - more_link: '0' + word_boundary: true + ellipsis: true + more_link: false more_link_text: '' more_link_path: '' - strip_tags: '0' - trim: '0' + strip_tags: false + trim: false preserve_tags: '' - html: '0' + html: false element_type: '' element_class: '' element_label_type: '' element_label_class: '' - element_label_colon: '1' + element_label_colon: true element_wrapper_type: '' element_wrapper_class: '' - element_default_classes: '1' + element_default_classes: true empty: '' - hide_empty: '0' - empty_zero: '0' - hide_alter_empty: '1' + hide_empty: false + empty_zero: false + hide_alter_empty: true plugin_id: aggregator_xss filters: { } sorts: { } diff --git a/core/modules/block/tests/modules/block_test/config/block.block.test_block.yml b/core/modules/block/tests/modules/block_test/config/block.block.test_block.yml index 699a8b6..61a3f7e 100644 --- a/core/modules/block/tests/modules/block_test/config/block.block.test_block.yml +++ b/core/modules/block/tests/modules/block_test/config/block.block.test_block.yml @@ -1,15 +1,15 @@ id: test_block theme: stark -weight: '' +weight: 0 status: true langcode: en -region: -1 +region: '-1' plugin: test_html_id settings: label: 'Test block html id"' module: block_test - label_display: false - cache: true + label_display: '' + cache: 1 visibility: path: visibility: 0 diff --git a/core/modules/book/config/node.type.book.yml b/core/modules/book/config/node.type.book.yml index 63f98b2..e8ee747 100644 --- a/core/modules/book/config/node.type.book.yml +++ b/core/modules/book/config/node.type.book.yml @@ -9,11 +9,11 @@ settings: node: preview: 1 options: - status: status + status: true # Not promoted to front page. - promote: '0' - sticky: '0' - revision: '0' + promote: false + sticky: false + revision: false submitted: true status: true langcode: en diff --git a/core/modules/breakpoint/config/schema/breakpoint.schema.yml b/core/modules/breakpoint/config/schema/breakpoint.schema.yml index 0e90f7c..ce21948 100644 --- a/core/modules/breakpoint/config/schema/breakpoint.schema.yml +++ b/core/modules/breakpoint/config/schema/breakpoint.schema.yml @@ -56,7 +56,7 @@ breakpoint.breakpoint_group.*.*.*: label: type: string label: 'Label' - breakpoints: + breakpoint_ids: type: sequence label: 'Breakpoints' sequence: diff --git a/core/modules/comment/config/schema/comment.schema.yml b/core/modules/comment/config/schema/comment.schema.yml new file mode 100644 index 0000000..9a09151 --- /dev/null +++ b/core/modules/comment/config/schema/comment.schema.yml @@ -0,0 +1,44 @@ +# Schema for the configuration files of the Comment module. + +entity_display.field.comment_default: + type: entity_field_display_base + label: 'Comment display format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_form_display.field.comment_default: + type: entity_field_form_display_base + label: 'Comment display format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +action.configuration.comment_publish_action: + type: action_configuration_default + label: 'Publish comment configuration' + +action.configuration.comment_save_action: + type: action_configuration_default + label: 'Save comment configuration' + +action.configuration.comment_unpublish_by_keyword_action: + type: mapping + label: 'Unpublish comment containing keyword(s) configuration' + mapping: + keyword: + type: sequence + label: 'Keywords' + sequence: + - type: sequence + label: 'Keyword' + +action.configuration.comment_unpublish_action: + type: action_configuration_default + label: 'Unpublish comment configuration' diff --git a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_row.yml b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_row.yml index 5e8b96e..538a486 100644 --- a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_row.yml +++ b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_row.yml @@ -2,13 +2,13 @@ base_field: cid base_table: comment core: 8.x description: '' -status: '1' +status: true display: default: display_plugin: default id: default display_title: Master - position: '1' + position: 1 display_options: access: type: perm @@ -20,54 +20,54 @@ display: query: type: views_query options: - disable_sql_rewrite: '0' - distinct: '0' - slave: '0' + disable_sql_rewrite: false + distinct: false + slave: false query_comment: '' query_tags: { } exposed_form: type: basic options: submit_button: Apply - reset_button: '0' + reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' - expose_sort_order: '1' + expose_sort_order: 1 sort_asc_label: Asc sort_desc_label: Desc pager: type: full options: - items_per_page: '10' - offset: '0' - id: '0' + items_per_page: 10 + offset: 0 + id: 0 total_pages: '' expose: - items_per_page: '0' + items_per_page: 0 items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 20, 40, 60' - items_per_page_options_all: '0' + items_per_page_options: 5, 10, 20, 40, 60 + items_per_page_options_all: 0 items_per_page_options_all_label: '- All -' - offset: '0' + offset: 0 offset_label: Offset tags: previous: '‹ previous' next: 'next ›' first: '« first' last: 'last »' - quantity: '9' + quantity: 9 style: type: default row: type: 'entity:comment' options: - links: '1' + links: true view_mode: full relationships: node: field: node id: node - required: '1' + required: true table: comment relationship: none group_type: group @@ -79,50 +79,50 @@ display: field: subject label: '' alter: - alter_text: '0' - make_link: '0' - absolute: '0' - trim: '0' - word_boundary: '0' - ellipsis: '0' - strip_tags: '0' - html: '0' - hide_empty: '0' - empty_zero: '0' - link_to_comment: '1' + alter_text: false + make_link: false + absolute: false + trim: false + word_boundary: false + ellipsis: false + strip_tags: false + html: false + hide_empty: false + empty_zero: false + link_to_comment: true relationship: none group_type: group admin_label: '' - exclude: '0' + exclude: false element_type: '' element_class: '' element_label_type: '' element_label_class: '' - element_label_colon: '1' + element_label_colon: true element_wrapper_type: '' element_wrapper_class: '' - element_default_classes: '1' + element_default_classes: true empty: '' - hide_alter_empty: '1' - link_to_node: '0' + hide_alter_empty: true + link_to_node: false filters: status: - value: '1' + value: true table: comment field: status id: status expose: - operator: '0' - group: '1' + operator: false + group: 1 status_node: - value: '1' + value: 1 table: node_field_data field: status relationship: node id: status_node expose: - operator: '0' - group: '1' + operator: false + group: 1 sorts: { } title: test_comment_row header: { } @@ -133,7 +133,7 @@ display: display_plugin: page id: page_1 display_title: Page - position: '1' + position: 1 display_options: path: test-comment-row label: test_comment_row diff --git a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rss.yml b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rss.yml index 18255cf..dee7e83 100644 --- a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rss.yml +++ b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rss.yml @@ -2,7 +2,7 @@ base_field: cid base_table: comment core: 8.x description: '' -status: '1' +status: 1 display: default: display_plugin: default @@ -28,7 +28,7 @@ display: node: field: node id: node - required: '1' + required: 1 table: comment provider: views fields: @@ -39,17 +39,17 @@ display: plugin_id: comment label: '' alter: - alter_text: '0' - make_link: '0' - absolute: '0' - trim: '0' - word_boundary: '0' - ellipsis: '0' - strip_tags: '0' - html: '0' - hide_empty: '0' - empty_zero: '0' - link_to_comment: '1' + alter_text: 0 + make_link: 0 + absolute: 0 + trim: 0 + word_boundary: 0 + ellipsis: 0 + strip_tags: 0 + html: 0 + hide_empty: 0 + empty_zero: 0 + link_to_comment: 1 provider: comment filters: { } sorts: { } diff --git a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_user_uid.yml b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_user_uid.yml index d7c3f3e..ab94876 100644 --- a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_user_uid.yml +++ b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_user_uid.yml @@ -1,7 +1,7 @@ base_table: node -core: '8' +core: 8 description: '' -status: '1' +status: 1 display: default: display_options: @@ -9,15 +9,15 @@ display: type: perm arguments: uid_touch: - default_argument_skip_url: '0' + default_argument_skip_url: 0 default_argument_type: fixed field: uid_touch id: uid_touch summary: format: default_summary - number_of_records: '0' + number_of_records: 0 summary_options: - items_per_page: '25' + items_per_page: 25 table: node_field_data plugin_id: argument_comment_user_uid provider: comment @@ -36,7 +36,7 @@ display: type: full query: options: - query_comment: '0' + query_comment: 0 type: views_query style: type: default @@ -45,7 +45,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: test_comment_user_uid id: test_comment_user_uid tag: default diff --git a/core/modules/config/tests/config_other_module_config/config/config_test.dynamic.other_module.yml b/core/modules/config/tests/config_other_module_config/config/config_test.dynamic.other_module.yml index b144af6..7bd70d2 100644 --- a/core/modules/config/tests/config_other_module_config/config/config_test.dynamic.other_module.yml +++ b/core/modules/config/tests/config_other_module_config/config/config_test.dynamic.other_module.yml @@ -1,8 +1,8 @@ id: other_module uuid: 486f9f5c-82ed-4add-a700-b0ee3af4d17d label: 'Other module' -weight: '0' +weight: 0 style: '' -status: '1' +status: true langcode: en protected_property: Default diff --git a/core/modules/config/tests/config_test/config/config_test.someschema.with_parents.yml b/core/modules/config/tests/config_test/config/config_test.someschema.with_parents.yml index 7f6870b..3f0b324 100644 --- a/core/modules/config/tests/config_test/config/config_test.someschema.with_parents.yml +++ b/core/modules/config/tests/config_test/config/config_test.someschema.with_parents.yml @@ -1,12 +1,12 @@ one_level: target_key: key_1 - testitem: "text for entry_1" + testitem: 'text for entry_1' two_levels: target_key: key_2 wrapper: - testitem: "text for entry_2" + testitem: 'text for entry_2' three_levels: target_key: key_3 wrapper_1: wrapper_2: - testitem: "text for entry_3" + testitem: 'text for entry_3' diff --git a/core/modules/config/tests/config_test/config/config_test.someschema.yml b/core/modules/config/tests/config_test/config/config_test.someschema.yml index 3afe100..c852074 100644 --- a/core/modules/config/tests/config_test/config/config_test.someschema.yml +++ b/core/modules/config/tests/config_test/config/config_test.someschema.yml @@ -1,4 +1,4 @@ -testitem: "Since this file at least has top level schema in config_test.schema.yml" +testitem: 'Since this file at least has top level schema in config_test.schema.yml' testlist: - - "Direct string items are identified and other items are" - - "recognized as undefined types." + - 'Direct string items are identified and other items are' + - 'recognized as undefined types.' diff --git a/core/modules/datetime/config/schema/datetime.schema.yml b/core/modules/datetime/config/schema/datetime.schema.yml index 05e9fc8..9369168 100644 --- a/core/modules/datetime/config/schema/datetime.schema.yml +++ b/core/modules/datetime/config/schema/datetime.schema.yml @@ -23,3 +23,53 @@ field.datetime.value: sequence: - type: string label: 'Value' + +entity_display.field.datetime_default: + type: entity_field_display_base + label: 'Datetime default display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + format_type: + type: string + label: 'Date format' + +entity_display.field.datetime_plain: + type: entity_field_display_base + label: 'Datetime plain display format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_form_display.field.datetime_datelist: + type: entity_field_form_display_base + label: 'Datetime select list display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + increment: + type: integer + label: 'Time increments' + date_order: + type: string + label: 'Date part order' + time_type: + type: string + label: 'Time type' + +entity_form_display.field.datetime_default: + type: entity_field_form_display_base + label: 'Datetime default display format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string \ No newline at end of file diff --git a/core/modules/entity/config/schema/entity.data_types.yml b/core/modules/entity/config/schema/entity.data_types.yml new file mode 100644 index 0000000..49dbb9a --- /dev/null +++ b/core/modules/entity/config/schema/entity.data_types.yml @@ -0,0 +1,26 @@ +# Schema for entity fields, specifying generic component data type information. + +# Schema for the base of the view mode or form mode display format settings. +entity_field_display_base: + type: mapping + mapping: + label: + type: string + label: 'Label setting machine name' + type: + type: string + label: 'Format type machine name' + weight: + type: integer + label: 'Weight' + +# Schema for the base of the view mode or form mode display format settings. +entity_field_form_display_base: + type: mapping + mapping: + type: + type: string + label: 'Format type machine name' + weight: + type: integer + label: 'Weight' diff --git a/core/modules/entity/config/schema/entity.schema.yml b/core/modules/entity/config/schema/entity.schema.yml index eb8437b..4c430a4 100644 --- a/core/modules/entity/config/schema/entity.schema.yml +++ b/core/modules/entity/config/schema/entity.schema.yml @@ -51,3 +51,70 @@ entity.form_mode.*.*: langcode: type: string label: 'Default language' + +# Overview configuration information for view mode or form mode displays. +entity.display.*.*.*: + type: mapping + label: 'Entity display' + mapping: + id: + type: string + label: 'Entity display ID' + uuid: + type: string + label: 'UUID' + targetEntityType: + type: string + label: 'Target entity type' + bundle: + type: string + label: 'Bundle' + mode: + type: string + label: 'View or form mode machine name' + status: + type: boolean + label: 'Enabled' + content: + type: sequence + label: 'Field display formatters' + sequence: + - type: entity_display.field.[type] + +# Overview configuration information for form mode displays. +entity.form_display.*.*.*: + type: mapping + label: 'Entity form display' + mapping: + id: + type: string + label: 'Entity display ID' + uuid: + type: string + label: 'UUID' + targetEntityType: + type: string + label: 'Target entity type' + bundle: + type: string + label: 'Bundle' + mode: + type: string + label: 'View or form mode machine name' + content: + type: sequence + label: 'Field form display formatters' + sequence: + - type: entity_form_display.field.[type] + status: + type: boolean + label: 'Enabled' + +# for hidden, there is no type. +entity_display.field.*: + type: mapping + label: 'Entity display default' + mapping: + visible: + type: boolean + label: 'Visibility' diff --git a/core/modules/entity_reference/config/schema/entity_reference.schema.yml b/core/modules/entity_reference/config/schema/entity_reference.schema.yml index 0abe2b9..c9c1037 100644 --- a/core/modules/entity_reference/config/schema/entity_reference.schema.yml +++ b/core/modules/entity_reference/config/schema/entity_reference.schema.yml @@ -66,3 +66,82 @@ entity_reference.default.handler_settings: auto_create: type: boolean label: 'Create referenced entities if they don''t already exist' + +entity_display.field.entity_reference_entity_view: + type: entity_field_display_base + label: 'Entity reference rendered entity display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + view_mode: + type: string + label: 'View mode' + link: + type: boolean + label: 'Show links' + +entity_display.field.entity_reference_entity_id: + type: entity_field_display_base + label: 'Entity reference entity ID display format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_display.field.entity_reference_label: + type: entity_field_display_base + label: 'Entity reference label display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + link: + type: boolean + label: 'Link label to the referenced entity' + +entity_form_display.field.entity_reference_autocomplete_tags: + type: entity_field_form_display_base + label: 'Entity reference autocomplete (Tags style) display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + match_operator: + type: string + label: 'Autocomplete matching' + size: + type: integer + label: 'Size of textfield' + autocomplete_type: + type: string + label: 'Autocomplete type' + placeholder: + type: label + label: 'Placeholder' + +entity_form_display.field.entity_reference_autocomplete: + type: entity_field_form_display_base + label: 'Entity reference autocomplete display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + match_operator: + type: string + label: 'Autocomplete matching' + size: + type: integer + label: 'Size of textfield' + autocomplete_type: + type: string + label: 'Autocomplete type' + placeholder: + type: label + label: 'Placeholder' diff --git a/core/modules/field/config/schema/field.schema.yml b/core/modules/field/config/schema/field.schema.yml index 33b8d3e..ea78214 100644 --- a/core/modules/field/config/schema/field.schema.yml +++ b/core/modules/field/config/schema/field.schema.yml @@ -47,6 +47,9 @@ field.field.*.*: translatable: type: boolean label: 'Translatable' + active: + type: boolean + label: 'Active' indexes: type: sequence label: 'Indexes' @@ -101,3 +104,17 @@ field.instance.*.*.*: field_type: type: string label: 'Field type' + entity_type: + type: string + label: 'Entity type' + +entity_form_display.field.hidden: + type: entity_field_form_display_base + label: '- Hidden - format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + diff --git a/core/modules/field/tests/modules/field_test_config/config/field.field.entity_test.field_test_import.yml b/core/modules/field/tests/modules/field_test_config/config/field.field.entity_test.field_test_import.yml index ff76026..20b5662 100644 --- a/core/modules/field/tests/modules/field_test_config/config/field.field.entity_test.field_test_import.yml +++ b/core/modules/field/tests/modules/field_test_config/config/field.field.entity_test.field_test_import.yml @@ -4,10 +4,10 @@ name: field_test_import entity_type: entity_test type: text settings: - max_length: '255' + max_length: 255 module: text -locked: '0' -cardinality: '1' +locked: false +cardinality: 1 translatable: false indexes: format: diff --git a/core/modules/field/tests/modules/field_test_config/config/field.field.entity_test.field_test_import_2.yml b/core/modules/field/tests/modules/field_test_config/config/field.field.entity_test.field_test_import_2.yml index 48d5cd6..a94a715 100644 --- a/core/modules/field/tests/modules/field_test_config/config/field.field.entity_test.field_test_import_2.yml +++ b/core/modules/field/tests/modules/field_test_config/config/field.field.entity_test.field_test_import_2.yml @@ -4,10 +4,10 @@ name: field_test_import_2 entity_type: entity_test type: text settings: - max_length: '255' + max_length: 255 module: text -locked: '0' -cardinality: '1' +locked: false +cardinality: 1 translatable: false indexes: format: diff --git a/core/modules/field/tests/modules/field_test_config/config/field.instance.entity_test.entity_test.field_test_import.yml b/core/modules/field/tests/modules/field_test_config/config/field.instance.entity_test.entity_test.field_test_import.yml index 55f2980..c1537bf 100644 --- a/core/modules/field/tests/modules/field_test_config/config/field.instance.entity_test.entity_test.field_test_import.yml +++ b/core/modules/field/tests/modules/field_test_config/config/field.instance.entity_test.entity_test.field_test_import.yml @@ -5,9 +5,9 @@ entity_type: entity_test bundle: entity_test label: 'Test import field' description: '' -required: '0' +required: false default_value: { } default_value_function: '' settings: - text_processing: '0' + text_processing: 0 field_type: text diff --git a/core/modules/field/tests/modules/field_test_config/config/field.instance.entity_test.entity_test.field_test_import_2.yml b/core/modules/field/tests/modules/field_test_config/config/field.instance.entity_test.entity_test.field_test_import_2.yml index 7bb59cf..942f081 100644 --- a/core/modules/field/tests/modules/field_test_config/config/field.instance.entity_test.entity_test.field_test_import_2.yml +++ b/core/modules/field/tests/modules/field_test_config/config/field.instance.entity_test.entity_test.field_test_import_2.yml @@ -5,15 +5,15 @@ entity_type: entity_test bundle: entity_test label: 'Test import field 2 on entity_test bundle' description: '' -required: '0' +required: false default_value: { } default_value_function: '' settings: - text_processing: '0' + text_processing: 0 widget: - weight: '-2' + weight: -2 type: text_textfield module: text settings: - size: '60' + size: 60 field_type: text diff --git a/core/modules/field/tests/modules/field_test_config/config/field.instance.entity_test.test_bundle.field_test_import_2.yml b/core/modules/field/tests/modules/field_test_config/config/field.instance.entity_test.test_bundle.field_test_import_2.yml index e58e846..f0b84d5 100644 --- a/core/modules/field/tests/modules/field_test_config/config/field.instance.entity_test.test_bundle.field_test_import_2.yml +++ b/core/modules/field/tests/modules/field_test_config/config/field.instance.entity_test.test_bundle.field_test_import_2.yml @@ -5,15 +5,15 @@ entity_type: entity_test bundle: test_bundle label: 'Test import field 2 on test bundle' description: '' -required: '0' +required: false default_value: { } default_value_function: '' settings: - text_processing: '0' + text_processing: 0 widget: - weight: '-2' + weight: -2 type: text_textfield module: text settings: - size: '60' + size: 60 field_type: text diff --git a/core/modules/file/config/schema/file.schema.yml b/core/modules/file/config/schema/file.schema.yml index 2c09484..fc837f2 100644 --- a/core/modules/file/config/schema/file.schema.yml +++ b/core/modules/file/config/schema/file.schema.yml @@ -59,3 +59,56 @@ field.file.instance_settings: description_field: type: boolean label: 'Enable Description field' + +entity_display.field.file_default: + type: entity_field_display_base + label: 'Generic file format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_display.field.file_rss_enclosure: + type: entity_field_display_base + label: 'RSS enclosure format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_display.field.file_table: + type: entity_field_display_base + label: 'Table of files format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_display.field.file_url_plain: + type: entity_field_display_base + label: 'URL to file format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + + +entity_form_display.field.file_generic: + type: entity_field_form_display_base + label: 'File format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mappping: + progress_indicator: + type: string + label: 'Progress indicator' diff --git a/core/modules/file/config/views.view.files.yml b/core/modules/file/config/views.view.files.yml index c11c472..97f36c0 100644 --- a/core/modules/file/config/views.view.files.yml +++ b/core/modules/file/config/views.view.files.yml @@ -46,7 +46,7 @@ display: previous: '‹ previous' next: 'next ›' expose: - items_per_page: '0' + items_per_page: false items_per_page_label: 'Items per page' items_per_page_options: '5, 10, 20, 40, 60' items_per_page_options_all: false @@ -143,7 +143,7 @@ display: html: false hide_empty: false empty_zero: false - link_to_file: '0' + link_to_file: false relationship: none group_type: group admin_label: '' @@ -238,8 +238,8 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - link_to_file: '0' - filemime_image: '0' + link_to_file: false + filemime_image: false plugin_id: file_filemime filesize: id: filesize @@ -460,7 +460,7 @@ display: admin_label: '' operator: word value: '' - group: '1' + group: 1 exposed: true expose: operator_id: filemime_op @@ -498,7 +498,7 @@ display: admin_label: '' operator: word value: '' - group: '1' + group: 1 exposed: true expose: operator_id: filemime_op @@ -536,7 +536,7 @@ display: admin_label: '' operator: in value: { } - group: '1' + group: 1 exposed: true expose: operator_id: status_op @@ -552,7 +552,7 @@ display: authenticated: authenticated anonymous: '0' administrator: '0' - reduce: '0' + reduce: false is_grouped: false group_info: label: '' @@ -588,8 +588,8 @@ display: admin_label: 'File usage' required: true arguments: { } - group_by: '1' - show_admin_links: '1' + group_by: true + show_admin_links: true page_1: display_plugin: page id: page_1 @@ -603,7 +603,7 @@ display: description: '' name: admin weight: 0 - context: '0' + context: false display_description: '' defaults: pager: true @@ -628,7 +628,7 @@ display: path: admin/content/files/usage/% empty: { } defaults: - empty: '0' + empty: false pager: false pager_options: false filters: false @@ -651,7 +651,7 @@ display: previous: '‹ previous' next: 'next ›' expose: - items_per_page: '0' + items_per_page: false items_per_page_label: 'Items per page' items_per_page_options: '5, 10, 20, 40, 60' items_per_page_options_all: false @@ -712,7 +712,7 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - link_to_entity: '1' + link_to_entity: true plugin_id: entity_label provider: views type: @@ -868,13 +868,13 @@ display: decimal: . separator: ',' format_plural: false - format_plural_singular: '1' + format_plural_singular: true format_plural_plural: '@count' prefix: '' suffix: '' plugin_id: numeric provider: views - group_by: '0' + group_by: false title: 'File usage' arguments: fid: @@ -912,7 +912,7 @@ display: fail: 'not found' validate_options: { } break_phrase: false - not: '0' + not: false plugin_id: file_fid provider: file style: diff --git a/core/modules/filter/config/schema/filter.schema.yml b/core/modules/filter/config/schema/filter.schema.yml index 3f32071..f1df7df 100644 --- a/core/modules/filter/config/schema/filter.schema.yml +++ b/core/modules/filter/config/schema/filter.schema.yml @@ -47,3 +47,33 @@ filter.format.*: langcode: type: string label: 'Default language' + +filter_settings.*: + type: sequence + label: 'Filter settings' + sequence: + - type: string + label: 'Value' + +filter_settings.filter_html: + type: filter + label: 'Filter HTML' + mapping: + allowed_html: + type: string + label: 'Allowed HTML' + filter_html_help: + type: boolean + label: 'HTML help' + filter_html_nofollow: + type: boolean + label: 'HTML nofollow' + + +filter_settings.filter_url: + type: filter + label: 'Filter URL' + mapping: + filter_url_length: + type: integer + label: 'URL length' diff --git a/core/modules/image/config/schema/image.schema.yml b/core/modules/image/config/schema/image.schema.yml index b0dfd56..430a73d 100644 --- a/core/modules/image/config/schema/image.schema.yml +++ b/core/modules/image/config/schema/image.schema.yml @@ -162,3 +162,28 @@ field.image.instance_settings: default_image: type: field_default_image label: 'Default value' + +entity_display.field.image: + type: entity_field_display_base + label: 'Image field display format settings' + mapping: + settings: + type: sequence + label: 'Format settings' + sequence: + - type: string + +entity_form_display.field.image_image: + type: entity_field_form_display_base + label: 'Image field display format settings' + mapping: + settings: + type: mapping + label: 'Format settings' + mapping: + progress_indicator: + type: string + label: 'Progress indicator' + preview_image_style: + type: string + label: 'Preview image style' diff --git a/core/modules/language/config/language.entity.und.yml b/core/modules/language/config/language.entity.und.yml index f7559b1..59eef66 100644 --- a/core/modules/language/config/language.entity.und.yml +++ b/core/modules/language/config/language.entity.und.yml @@ -1,7 +1,7 @@ id: und uuid: 87e4ef47-819b-4d89-aa4b-757f9ce5a3b2 label: 'Not specified' -direction: false +direction: 0 weight: 1 locked: true status: true diff --git a/core/modules/language/config/language.entity.zxx.yml b/core/modules/language/config/language.entity.zxx.yml index 37b02d9..dbd85fb 100644 --- a/core/modules/language/config/language.entity.zxx.yml +++ b/core/modules/language/config/language.entity.zxx.yml @@ -1,7 +1,7 @@ id: zxx uuid: de5bb3a9-1038-4ada-ba05-05cc965ea702 label: 'Not applicable' -direction: false +direction: 0 weight: 2 locked: true status: true diff --git a/core/modules/link/config/schema/link.schema.yml b/core/modules/link/config/schema/link.schema.yml new file mode 100644 index 0000000..0269f5f --- /dev/null +++ b/core/modules/link/config/schema/link.schema.yml @@ -0,0 +1,58 @@ +# Schema for the configuration files of the Link module. + +entity_display.field.link: + type: entity_field_display_base + label: 'Link format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + trim_length: + type: integer + label: 'Trim link text length' + url_only: + type: boolean + label: 'URL only' + url_plain: + type: boolean + label: 'Show URL as plain text' + rel: + type: boolean + label: 'Add rel="nofollow" to links' + target: + type: boolean + label: 'Open link in new window' + +entity_display.field.link_separate: + type: entity_field_display_base + label: 'Link format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + trim_length: + type: integer + label: 'Trim link text length' + rel: + type: boolean + label: 'Add rel="nofollow" to links' + target: + type: boolean + label: 'Open link in new window' + +entity_form_display.field.link_default: + type: entity_field_form_display_base + label: 'Link format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + placeholder_url: + type: string + label: 'Placeholder for URL' + placeholder_title: + type: label + label: 'Placeholder for link text' diff --git a/core/modules/locale/config/locale.settings.yml b/core/modules/locale/config/locale.settings.yml index a3640bc..857a369 100644 --- a/core/modules/locale/config/locale.settings.yml +++ b/core/modules/locale/config/locale.settings.yml @@ -10,4 +10,4 @@ translation: overwrite_not_customized: true update_interval_days: 0 path: '' - import_enabled: '1' + import_enabled: true diff --git a/core/modules/locale/config/schema/locale.schema.yml b/core/modules/locale/config/schema/locale.schema.yml index 0555934..0d843a6 100644 --- a/core/modules/locale/config/schema/locale.schema.yml +++ b/core/modules/locale/config/schema/locale.schema.yml @@ -42,3 +42,13 @@ locale.settings: path: type: string label: 'Interface translations directory' + import_enabled: + type: boolean + label: 'Import enabled' + +locale.config.*.*.*: + type: sequence + label: 'Locale configuration' + sequence: + - type: string + label: 'Value' diff --git a/core/modules/locale/tests/modules/locale_test/config/schema/locale_test.schema.yml b/core/modules/locale/tests/modules/locale_test/config/schema/locale_test.schema.yml new file mode 100644 index 0000000..dd722be --- /dev/null +++ b/core/modules/locale/tests/modules/locale_test/config/schema/locale_test.schema.yml @@ -0,0 +1,17 @@ +# Schema for the configuration files of the Locale Test module. + +locale_test.no_translation: + type: mapping + label: 'No traslation settings' + mapping: + test: + type: string + label: 'Test' + +locale_test.translation: + type: mapping + label: 'translation settings' + mapping: + test: + type: string + label: 'Test' diff --git a/core/modules/node/config/entity.view_mode.node.full.yml b/core/modules/node/config/entity.view_mode.node.full.yml index 9d294f1..dd5d3f4 100644 --- a/core/modules/node/config/entity.view_mode.node.full.yml +++ b/core/modules/node/config/entity.view_mode.node.full.yml @@ -1,6 +1,6 @@ id: node.full uuid: faa8c4b0-64a5-458e-8e03-3ae4b4daee5b label: Full content -status: '0' -cache: '1' +status: false +cache: true targetEntityType: node diff --git a/core/modules/node/config/entity.view_mode.node.rss.yml b/core/modules/node/config/entity.view_mode.node.rss.yml index d2b9571..7f81099 100644 --- a/core/modules/node/config/entity.view_mode.node.rss.yml +++ b/core/modules/node/config/entity.view_mode.node.rss.yml @@ -1,6 +1,6 @@ id: node.rss uuid: a0f42dfa-6d27-40a3-a506-6d250c0fa47a label: RSS -status: '0' -cache: '1' +status: false +cache: true targetEntityType: node diff --git a/core/modules/node/config/entity.view_mode.node.teaser.yml b/core/modules/node/config/entity.view_mode.node.teaser.yml index b338d0c..d61cbf3 100644 --- a/core/modules/node/config/entity.view_mode.node.teaser.yml +++ b/core/modules/node/config/entity.view_mode.node.teaser.yml @@ -1,6 +1,6 @@ id: node.teaser uuid: 9f83c955-6c84-421b-b156-86764523ee53 label: Teaser -status: '1' -cache: '1' +status: true +cache: true targetEntityType: node diff --git a/core/modules/node/config/schema/node.schema.yml b/core/modules/node/config/schema/node.schema.yml index f2a8296..c6a3dc6 100644 --- a/core/modules/node/config/schema/node.schema.yml +++ b/core/modules/node/config/schema/node.schema.yml @@ -75,3 +75,51 @@ node.settings.node: submitted: type: boolean label: 'Display setting for author and date Submitted by post information' + + +action.configuration.node_assign_owner_action: + type: mapping + label: 'Change the author of content configuration' + mapping: + owner_uid: + type: text + label: 'Username' + +action.configuration.node_unpromote_action: + type: action_configuration_default + label: 'Demote selected content from front page configuration' + +action.configuration.node_promote_action: + type: action_configuration_default + label: 'Promote selected content from front page configuration' + +action.configuration.node_publish_action: + type: action_configuration_default + label: 'Publish selected content configuration' + +action.configuration.node_save_action: + type: action_configuration_default + label: 'save content configuration' + +action.configuration.node_make_sticky_action: + type: action_configuration_default + label: 'Make selected content sticky configuration' + +action.configuration.node_unpublish_by_keyword_action: + type: mapping + label: 'Unpublish content containing keyword(s) configuration' + mapping: + keyword: + type: sequence + label: 'Keywords' + sequence: + - type: sequence + label: 'Keyword' + +action.configuration.node_unpublish_action: + type: action_configuration_default + label: 'Unpublish selected content configuration' + +action.configuration.node_unsticky_action: + type: action_configuration_default + label: 'Publish selected content not sticky configuration' diff --git a/core/modules/node/config/system.action.node_delete_action.yml b/core/modules/node/config/system.action.node_delete_action.yml index 72183b0..def1156 100644 --- a/core/modules/node/config/system.action.node_delete_action.yml +++ b/core/modules/node/config/system.action.node_delete_action.yml @@ -1,7 +1,7 @@ id: node_delete_action uuid: 39dc5faa-8f59-4740-a100-b69e7975e6dd label: 'Delete selected content' -status: '1' +status: true langcode: en type: node plugin: node_delete_action diff --git a/core/modules/node/config/system.action.node_make_sticky_action.yml b/core/modules/node/config/system.action.node_make_sticky_action.yml index 9358694..f9907bb 100644 --- a/core/modules/node/config/system.action.node_make_sticky_action.yml +++ b/core/modules/node/config/system.action.node_make_sticky_action.yml @@ -1,7 +1,7 @@ id: node_make_sticky_action uuid: d1d2c940-3dcd-4468-a100-bb4fb7137522 label: 'Make content sticky' -status: '1' +status: true langcode: en type: node plugin: node_make_sticky_action diff --git a/core/modules/node/config/system.action.node_make_unsticky_action.yml b/core/modules/node/config/system.action.node_make_unsticky_action.yml index 478973e..e41e929 100644 --- a/core/modules/node/config/system.action.node_make_unsticky_action.yml +++ b/core/modules/node/config/system.action.node_make_unsticky_action.yml @@ -1,7 +1,7 @@ id: node_make_unsticky_action uuid: 63b14a98-3b54-4152-ae12-183b45fbe68d label: 'Make content unsticky' -status: '1' +status: true langcode: en type: node plugin: node_make_unsticky_action diff --git a/core/modules/node/config/system.action.node_promote_action.yml b/core/modules/node/config/system.action.node_promote_action.yml index 13c2993..6d6e101 100644 --- a/core/modules/node/config/system.action.node_promote_action.yml +++ b/core/modules/node/config/system.action.node_promote_action.yml @@ -1,7 +1,7 @@ id: node_promote_action uuid: 593a6ad3-6ff8-4f22-9308-8fb9398f1076 label: 'Promote content to front page' -status: '1' +status: true langcode: en type: node plugin: node_promote_action diff --git a/core/modules/node/config/system.action.node_publish_action.yml b/core/modules/node/config/system.action.node_publish_action.yml index 5a5a031..d1081c4 100644 --- a/core/modules/node/config/system.action.node_publish_action.yml +++ b/core/modules/node/config/system.action.node_publish_action.yml @@ -1,7 +1,7 @@ id: node_publish_action uuid: 83bc5b18-6987-4106-be00-bbf90333a655 label: 'Publish content' -status: '1' +status: true langcode: en type: node plugin: node_publish_action diff --git a/core/modules/node/config/system.action.node_save_action.yml b/core/modules/node/config/system.action.node_save_action.yml index af3b617..9b1b86c 100644 --- a/core/modules/node/config/system.action.node_save_action.yml +++ b/core/modules/node/config/system.action.node_save_action.yml @@ -1,7 +1,7 @@ id: node_save_action uuid: 493b5aa1-25b1-4e62-af07-079952c04108 label: 'Save content' -status: '1' +status: true langcode: en type: node plugin: node_save_action diff --git a/core/modules/node/config/system.action.node_unpromote_action.yml b/core/modules/node/config/system.action.node_unpromote_action.yml index f0b262d..13c8537 100644 --- a/core/modules/node/config/system.action.node_unpromote_action.yml +++ b/core/modules/node/config/system.action.node_unpromote_action.yml @@ -1,7 +1,7 @@ id: node_unpromote_action uuid: 887c7a3c-8ccf-459c-8528-4089fdbfb143 label: 'Remove content from front page' -status: '1' +status: true langcode: en type: node plugin: node_unpromote_action diff --git a/core/modules/node/config/system.action.node_unpublish_action.yml b/core/modules/node/config/system.action.node_unpublish_action.yml index b2938a7..b9bc350 100644 --- a/core/modules/node/config/system.action.node_unpublish_action.yml +++ b/core/modules/node/config/system.action.node_unpublish_action.yml @@ -1,7 +1,7 @@ id: node_unpublish_action uuid: 7479d776-df6e-4c8b-a400-f4246c289850 label: 'Unpublish content' -status: '1' +status: true langcode: en type: node plugin: node_unpublish_action diff --git a/core/modules/node/config/views.view.content.yml b/core/modules/node/config/views.view.content.yml index 64f1acf..643782f 100644 --- a/core/modules/node/config/views.view.content.yml +++ b/core/modules/node/config/views.view.content.yml @@ -180,8 +180,8 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - link_to_node: '0' - machine_name: '0' + link_to_node: false + machine_name: false plugin_id: node_type provider: node name: @@ -199,10 +199,10 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - link_to_user: '1' - overwrite_anonymous: '0' + link_to_user: true + overwrite_anonymous: false anonymous_text: '' - format_username: '1' + format_username: true plugin_id: user_name provider: user status: @@ -222,7 +222,7 @@ display: type: published-notpublished type_custom_true: '' type_custom_false: '' - not: '0' + not: false plugin_id: boolean provider: views changed: @@ -277,7 +277,7 @@ display: empty_zero: false empty: '' text: Translate - optional: '1' + optional: true plugin_id: content_translation_link provider: content_translation dropbutton: @@ -289,7 +289,7 @@ display: edit_node: edit_node delete_node: delete_node translation_link: translation_link - destination: '1' + destination: true plugin_id: dropbutton provider: views timestamp: @@ -340,8 +340,8 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - link_to_node: '0' - comments: '0' + link_to_node: false + comments: false plugin_id: history_user_timestamp provider: history filters: @@ -362,7 +362,7 @@ display: admin_label: '' operator: '=' value: All - group: '1' + group: 1 exposed: true expose: operator_id: '' @@ -384,18 +384,18 @@ display: optional: true widget: select multiple: false - remember: 0 + remember: false default_group: All default_group_multiple: { } group_items: 1: title: Published operator: '=' - value: '1' + value: 1 2: title: Unpublished operator: '=' - value: '0' + value: 0 plugin_id: boolean provider: views type: @@ -426,7 +426,7 @@ display: field: langcode operator: in value: { } - group: '1' + group: 1 exposed: true expose: operator_id: langcode_op @@ -435,7 +435,7 @@ display: identifier: langcode remember_roles: authenticated: authenticated - optional: '1' + optional: true plugin_id: language provider: language sorts: { } @@ -459,7 +459,7 @@ display: required: true plugin_id: standard provider: views - show_admin_links: '0' + show_admin_links: false display_plugin: default display_title: Master id: default @@ -473,7 +473,7 @@ display: description: '' name: admin weight: -10 - context: '0' + context: false tab_options: type: normal title: Content diff --git a/core/modules/node/config/views.view.frontpage.yml b/core/modules/node/config/views.view.frontpage.yml index 1a7afa5..3e0e211 100644 --- a/core/modules/node/config/views.view.frontpage.yml +++ b/core/modules/node/config/views.view.frontpage.yml @@ -69,7 +69,7 @@ display: label: '' multiple: false operator: '' - operator_id: '0' + operator_id: 0 remember: false remember_roles: authenticated: authenticated @@ -77,7 +77,7 @@ display: use_operator: false exposed: false field: promote - group: '1' + group: 1 group_info: default_group: All default_group_multiple: { } @@ -87,7 +87,7 @@ display: label: '' multiple: false optional: true - remember: 0 + remember: false widget: select group_type: group id: promote @@ -95,17 +95,17 @@ display: operator: '=' relationship: none table: node_field_data - value: '1' + value: 1 plugin_id: boolean provider: views status: expose: - operator: '0' + operator: false field: status - group: '1' + group: 1 id: status table: node_field_data - value: '1' + value: 1 plugin_id: boolean provider: views pager: @@ -116,7 +116,7 @@ display: id: 0 total_pages: 0 expose: - items_per_page: '0' + items_per_page: false items_per_page_label: 'Items per page' items_per_page_options: '5, 10, 20, 40, 60' items_per_page_options_all: false @@ -141,8 +141,8 @@ display: type: 'entity:node' options: build_mode: teaser - comments: '0' - links: '1' + comments: false + links: true view_mode: teaser sorts: sticky: @@ -207,7 +207,7 @@ display: path: rss.xml displays: page_1: page_1 - default: '0' + default: false pager: type: some options: @@ -218,13 +218,13 @@ display: options: description: '' grouping: { } - uses_fields: '0' + uses_fields: false row: type: node_rss options: relationship: none item_length: default - links: '0' + links: false label: Frontpage module: node id: frontpage diff --git a/core/modules/node/tests/modules/node_test_config/config/node.type.default.yml b/core/modules/node/tests/modules/node_test_config/config/node.type.default.yml index a93a9c6..e7b22b8 100644 --- a/core/modules/node/tests/modules/node_test_config/config/node.type.default.yml +++ b/core/modules/node/tests/modules/node_test_config/config/node.type.default.yml @@ -3,16 +3,16 @@ uuid: ca226632-3186-42a2-8440-a526f20840af name: Default description: 'Default description.' help: '' -has_title: '1' +has_title: true title_label: Title settings: node: - preview: '1' + preview: 1 options: - status: status - promote: promote - sticky: '0' - revision: '0' - submitted: '1' -status: '1' + status: true + promote: true + sticky: false + revision: false + submitted: true +status: true langcode: en diff --git a/core/modules/node/tests/modules/node_test_config/staging/node.type.import.yml b/core/modules/node/tests/modules/node_test_config/staging/node.type.import.yml index e5ce0ba..6678738 100644 --- a/core/modules/node/tests/modules/node_test_config/staging/node.type.import.yml +++ b/core/modules/node/tests/modules/node_test_config/staging/node.type.import.yml @@ -3,16 +3,16 @@ uuid: 1a720d40-7bcd-41e3-ae4d-08d1cad4ac2a name: Import description: 'Import description.' help: '' -has_title: '1' +has_title: true title_label: Title settings: node: - preview: '1' + preview: 1 options: status: status promote: promote - sticky: '0' - revision: '0' - submitted: '1' -status: '1' + sticky: false + revision: false + submitted: true +status: true langcode: en diff --git a/core/modules/number/config/schema/number.schema.yml b/core/modules/number/config/schema/number.schema.yml index f597c02..fbacd26 100644 --- a/core/modules/number/config/schema/number.schema.yml +++ b/core/modules/number/config/schema/number.schema.yml @@ -108,3 +108,61 @@ field.number_float.value: value: type: float label: 'Value' + +entity_display.field.number_decimal: + type: entity_field_display_base + label: 'Number decimal display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + thousand_separator: + type: string + label: 'Thousand marker' + decimal_separator: + type: string + label: 'Decimal marker' + scale: + type: integer + label: 'Scale' + prefix_suffix: + type: boolean + label: 'Display prefix and suffix.' + +entity_display.field.number_integer: + type: entity_field_display_base + label: 'Number interger display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + thousand_separator: + type: string + label: 'Thousand marker' + prefix_suffix: + type: boolean + label: 'Display prefix and suffix.' + +entity_display.field.number_unformatted: + type: entity_field_display_base + label: 'Number unformatted display format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_form_display.field.number: + type: entity_field_form_display_base + label: 'Number default display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + placeholder: + type: label + label: 'Placeholder' diff --git a/core/modules/options/config/schema/options.schema.yml b/core/modules/options/config/schema/options.schema.yml index 367e4b5..975ab2c 100644 --- a/core/modules/options/config/schema/options.schema.yml +++ b/core/modules/options/config/schema/options.schema.yml @@ -119,3 +119,55 @@ field.list_boolean.value: value: type: boolean label: 'Value' + +entity_display.field.list_default: + type: entity_field_display_base + label: 'Options list default display settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_display.field.list_key: + type: entity_field_display_base + label: 'Key format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_form_display.field.options_buttons: + type: entity_field_form_display_base + label: 'Check boxes/radio buttons format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_form_display.field.options_onoff: + type: entity_field_form_display_base + label: 'Single on/off checkbox format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + display_label: + type: boolean + label: 'Use field label instead of the "On value" as label' + +entity_form_display.field.options_select: + type: entity_field_form_display_base + label: 'Select list format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string diff --git a/core/modules/picture/config/schema/picture.schema.yml b/core/modules/picture/config/schema/picture.schema.yml index 3d53c44..62e6741 100644 --- a/core/modules/picture/config/schema/picture.schema.yml +++ b/core/modules/picture/config/schema/picture.schema.yml @@ -37,3 +37,21 @@ picture.mappings.*: langcode: type: string label: 'Default language' + +entity_display.field.picture: + type: entity_field_display_base + label: 'Picture list format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + picture_mapping: + type: string + label: 'Picture mapping' + fallback_image_style: + type: string + label: 'Fallback image style' + image_link: + type: string + label: 'Link image to' diff --git a/core/modules/rest/config/schema/rest.schema.yml b/core/modules/rest/config/schema/rest.schema.yml index dff34eb..b6afddc 100644 --- a/core/modules/rest/config/schema/rest.schema.yml +++ b/core/modules/rest/config/schema/rest.schema.yml @@ -8,43 +8,38 @@ rest.settings: type: sequence label: 'Resources' sequence: - - type: sequence + - type: rest_resource label: 'Resource' - sequence: - - type: rest.resource.[%key] -rest.resource.GET: +rest_resource: type: mapping - label: 'GET method settings' mapping: - supported_format: + GET: + type: rest_request + label: 'GET method settings' + POST: + type: rest_request + label: 'POST method settings' + PATCH: + type: rest_request + label: 'PATCH method settings' + + DELETE: + type: rest_request + label: 'DELETE method settings' + +rest_request: + type: mapping + mapping: + supported_formats: type: sequence label: 'Supported format' sequence: - type: string label: 'Format' - -rest.resource.POST: - type: mapping - label: 'POST method settings' - mapping: supported_auth: type: sequence - label: 'Supported format' + label: 'Supported authentication' sequence: - type: string - label: 'Format' - -rest.resource.PATCH: - type: sequence - label: 'PATCH method settings' - sequence: - - type: string - label: 'Format' - -rest.resource.DELETE: - type: sequence - label: 'DELETE method settings' - sequence: - - type: string - label: 'Format' + label: 'Authentication' diff --git a/core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_display_entity.yml b/core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_display_entity.yml index 13d90aa..60491c4 100644 --- a/core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_display_entity.yml +++ b/core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_display_entity.yml @@ -45,6 +45,6 @@ display: access: false path: test/serialize/entity base_field: id -status: '1' +status: true module: rest langcode: und diff --git a/core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_display_field.yml b/core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_display_field.yml index 029c34a..8bad253 100644 --- a/core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_display_field.yml +++ b/core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_display_field.yml @@ -41,9 +41,9 @@ display: group_type: group admin_label: '' label: 'Custom text' - exclude: '0' + exclude: false alter: - alter_text: '1' + alter_text: true text: TEST plugin_id: custom provider: views @@ -100,6 +100,6 @@ display: row: type: data_field base_field: id -status: '1' +status: true module: rest langcode: und diff --git a/core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_node_display_field.yml b/core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_node_display_field.yml index ed46987..34a2d01 100644 --- a/core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_node_display_field.yml +++ b/core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_node_display_field.yml @@ -40,46 +40,46 @@ display: group_type: group admin_label: '' label: Body - exclude: 0 + exclude: false alter: - alter_text: 0 + alter_text: false text: '' - make_link: 0 + make_link: false path: '' - absolute: 0 - external: 0 - replace_spaces: 0 + absolute: false + external: false + replace_spaces: false path_case: none - trim_whitespace: 0 + trim_whitespace: false alt: '' rel: '' link_class: '' prefix: '' suffix: '' target: '' - nl2br: 0 + nl2br: false max_length: '' - word_boundary: 1 - ellipsis: 1 - more_link: 0 + word_boundary: true + ellipsis: true + more_link: false more_link_text: '' more_link_path: '' - strip_tags: 0 - trim: 0 + strip_tags: false + trim: false preserve_tags: '' - html: 0 + html: false element_type: '' element_class: '' element_label_type: '' element_label_class: '' - element_label_colon: 1 + element_label_colon: true element_wrapper_type: '' element_wrapper_class: '' - element_default_classes: 1 + element_default_classes: true empty: '' - hide_empty: 0 - empty_zero: 0 - hide_alter_empty: 1 + hide_empty: false + empty_zero: false + hide_alter_empty: true click_sort_column: value type: text_default settings: { } @@ -92,7 +92,7 @@ display: delta_first_last: false multi_type: separator separator: ', ' - field_api_classes: 0 + field_api_classes: false plugin_id: field provider: field title: 'Test serialize' @@ -115,6 +115,6 @@ display: row: type: data_field base_field: nid -status: '1' +status: true module: rest_test_views langcode: und diff --git a/core/modules/search/tests/modules/search_extra_type/config/schema/search_extra_type.schema.yml b/core/modules/search/tests/modules/search_extra_type/config/schema/search_extra_type.schema.yml new file mode 100644 index 0000000..442139d --- /dev/null +++ b/core/modules/search/tests/modules/search_extra_type/config/schema/search_extra_type.schema.yml @@ -0,0 +1,9 @@ +# Schema for the configuration files of the Test Search Type module. + +search_extra_type.settings: + type: mapping + label: 'Test search type settings' + mapping: + boost: + type: string + label: 'String' diff --git a/core/modules/simpletest/config/simpletest.settings.yml b/core/modules/simpletest/config/simpletest.settings.yml index 52b2d3d..a2254cc 100644 --- a/core/modules/simpletest/config/simpletest.settings.yml +++ b/core/modules/simpletest/config/simpletest.settings.yml @@ -1,6 +1,6 @@ -clear_results: '1' +clear_results: true httpauth: - method: '1' + method: 1 password: '' username: '' -verbose: '1' +verbose: true diff --git a/core/modules/system/config/schema/system.data_types.schema.yml b/core/modules/system/config/schema/system.data_types.schema.yml index ab375b6..eaf2b8e 100644 --- a/core/modules/system/config/schema/system.data_types.schema.yml +++ b/core/modules/system/config/schema/system.data_types.schema.yml @@ -78,9 +78,38 @@ filter: type: mapping label: 'Filter' mapping: - module: + id: type: string - label: 'Module' + label: 'ID' + provider: + type: string + label: 'Provider' status: type: boolean - label: 'Enabled' + label: 'Status' + weight: + type: integer + label: 'Weight' + settings: + type: filter_settings.[%parent.id] + + +# System action configuration base. +action_configuration_default: + type: sequence + label: 'Action configuration' + sequence: + - type: string + +theme_settings_default: + type: mapping + mapping: + shortcut_module_link: + type: boolean + label: 'Shortcut module link' + +theme_breakpoints_default: + type: sequence + sequence: + - type: string + label: 'Breakpoint value' diff --git a/core/modules/system/config/schema/system.schema.yml b/core/modules/system/config/schema/system.schema.yml index 9d585f0..5ae9ce7 100644 --- a/core/modules/system/config/schema/system.schema.yml +++ b/core/modules/system/config/schema/system.schema.yml @@ -225,7 +225,7 @@ system.performance: mapping: use_internal: type: boolean - label: 'Cache pages for anonymous users' + label: 'Use internal page cache' max_age: type: integer label: 'Max age of page cache' @@ -312,8 +312,8 @@ system.theme: type: sequence label: 'Enabled themes' sequence: - - type: string - label: 'Theme' + - type: integer + label: 'Weight' default: type: string label: 'Default theme' @@ -343,3 +343,173 @@ system.menu.*: status: type: boolean label: '' + +system.action.*: + type: mapping + label: 'System action' + mapping: + id: + type: string + label: 'ID' + uuid: + type: string + label: 'UUID' + label: + type: label + label: 'Label' + status: + type: boolean + label: 'Status' + langcode: + type: string + label: 'Default language' + type: + type: string + label: 'Type' + plugin: + type: string + label: 'Plugin' + configuration: + type: action.configuration.[plugin] + +system.file: + type: mapping + label: 'File system' + mapping: + allow_insecure_uploads: + type: boolean + label: 'Allow insecure uploads' + chmod: + type: mapping + label: 'Permission mode settings' + mapping: + directory: + type: integer + label: 'Directory permission mode' + file: + type: integer + label: 'File permission mode' + default_scheme: + type: string + label: 'Default download method' + path: + type: mapping + label: 'Path settings' + mapping: + private: + type: string + label: 'Private file system path' + temporary: + type: string + label: 'Temporary directory' + +system.image: + type: mapping + label: 'Image settings' + mapping: + toolkit: + type: string + label: 'Toolkit' + +system.image.gd: + type: mapping + label: 'Image settings' + mapping: + jpeg_quality: + type: integer + label: 'JPEG quality' + +system.mail: + type: mapping + label: 'Image settings' + mapping: + interface: + type: mapping + label: 'Interface' + mapping: + default: + type: string + label: 'Default' + +system.module: + type: mapping + label: 'Module settings' + mapping: + enabled: + type: sequence + label: 'Enabled modules' + sequence: + - type: integer + label: 'Weight' + +system.theme.global: + type: mapping + label: 'Theme global settings' + mapping: + favicon: + type: mapping + label: 'Shortcut icon settings' + mapping: + mimetype: + type: string + label: 'MIME type' + path: + type: string + label: 'Path' + url: + type: string + label: 'URL' + use_default: + type: boolean + label: 'Use the default shortcut icon supplied by the theme' + features: + type: mapping + label: 'Shortcut icon settings' + mapping: + comment_user_picture: + type: boolean + label: 'User pictures in comments' + comment_user_verification: + type: boolean + label: 'User verification status in comments' + favicon: + type: boolean + label: 'Shortcut icon' + logo: + type: boolean + label: 'Logo' + name: + type: boolean + label: 'Site name' + node_user_picture: + type: boolean + label: 'User pictures in posts' + main_menu: + type: boolean + label: 'Main menu' + secondary_menu: + type: boolean + label: 'Secondary menu' + slogan: + type: boolean + label: 'Site slogan' + logo: + type: mapping + label: 'Shortcut icon settings' + mapping: + path: + type: string + label: 'Logo path' + url: + type: uri + label: 'URL' + use_default: + type: boolean + label: 'Use default' + +system.theme.disabled: + type: sequence + label: 'Disabled themes' + sequence: + - type: string + label: 'Theme' \ No newline at end of file diff --git a/core/modules/system/config/system.date.yml b/core/modules/system/config/system.date.yml index 29889df..6470af2 100644 --- a/core/modules/system/config/system.date.yml +++ b/core/modules/system/config/system.date.yml @@ -4,6 +4,6 @@ first_day: 0 timezone: default: '' user: - configurable: '1' - warn: '0' - default: '0' + configurable: true + warn: false + default: 0 diff --git a/core/modules/system/config/system.file.yml b/core/modules/system/config/system.file.yml index b5be48c..5d3ae38 100644 --- a/core/modules/system/config/system.file.yml +++ b/core/modules/system/config/system.file.yml @@ -1,8 +1,8 @@ -allow_insecure_uploads: '0' +allow_insecure_uploads: false # chmod variables should be a string in PHP Octal Notation. chmod: - directory: '0775' - file: '0664' + directory: 0775 + file: 0664 default_scheme: 'public' path: private: '' diff --git a/core/modules/system/config/system.image.gd.yml b/core/modules/system/config/system.image.gd.yml index fbc379f..342e071 100644 --- a/core/modules/system/config/system.image.gd.yml +++ b/core/modules/system/config/system.image.gd.yml @@ -1 +1 @@ -jpeg_quality: '75' +jpeg_quality: 75 diff --git a/core/modules/system/config/system.menu.account.yml b/core/modules/system/config/system.menu.account.yml index 084a601..7d4cdd0 100644 --- a/core/modules/system/config/system.menu.account.yml +++ b/core/modules/system/config/system.menu.account.yml @@ -2,4 +2,4 @@ id: account label: 'User account menu' description: 'Links related to the user account.' langcode: en -locked: 1 +locked: true diff --git a/core/modules/system/config/system.menu.admin.yml b/core/modules/system/config/system.menu.admin.yml index f9a1441..4751eb1 100644 --- a/core/modules/system/config/system.menu.admin.yml +++ b/core/modules/system/config/system.menu.admin.yml @@ -2,4 +2,4 @@ id: admin label: Administration description: 'Contains links to administrative tasks.' langcode: en -locked: 1 +locked: true diff --git a/core/modules/system/config/system.menu.footer.yml b/core/modules/system/config/system.menu.footer.yml index 5fe060c..540c118 100644 --- a/core/modules/system/config/system.menu.footer.yml +++ b/core/modules/system/config/system.menu.footer.yml @@ -2,4 +2,4 @@ id: footer label: Footer description: 'Use this for linking to site information.' langcode: en -locked: 1 +locked: true diff --git a/core/modules/system/config/system.menu.main.yml b/core/modules/system/config/system.menu.main.yml index d4fecc7..fe9ced5 100644 --- a/core/modules/system/config/system.menu.main.yml +++ b/core/modules/system/config/system.menu.main.yml @@ -2,4 +2,4 @@ id: main label: 'Main navigation' description: 'Use this for linking to the main site sections.' langcode: en -locked: 1 +locked: true diff --git a/core/modules/system/config/system.menu.tools.yml b/core/modules/system/config/system.menu.tools.yml index c81e9c5..4a3084f 100644 --- a/core/modules/system/config/system.menu.tools.yml +++ b/core/modules/system/config/system.menu.tools.yml @@ -2,4 +2,4 @@ id: tools label: Tools description: 'Contains links for site visitors. Some modules add their links here.' langcode: en -locked: 1 +locked: true diff --git a/core/modules/system/config/system.module.yml b/core/modules/system/config/system.module.yml index 696bedc..9ec80e1 100644 --- a/core/modules/system/config/system.module.yml +++ b/core/modules/system/config/system.module.yml @@ -1,2 +1,2 @@ enabled: - system: '0' + system: 0 diff --git a/core/modules/system/config/system.performance.yml b/core/modules/system/config/system.performance.yml index 67e82cf..29b434b 100644 --- a/core/modules/system/config/system.performance.yml +++ b/core/modules/system/config/system.performance.yml @@ -1,12 +1,12 @@ cache: page: - use_internal: '0' + use_internal: false max_age: 0 css: preprocess: false gzip: true fast_404: - enabled: '1' + enabled: true paths: '/\.(?:txt|png|gif|jpe?g|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/i' exclude_paths: '/\/(?:styles|imagecache)\//' html: '404 Not Found

Not Found

The requested URL "@path" was not found on this server.

' diff --git a/core/modules/system/config/system.theme.global.yml b/core/modules/system/config/system.theme.global.yml index 2d5bc35..13036bf 100644 --- a/core/modules/system/config/system.theme.global.yml +++ b/core/modules/system/config/system.theme.global.yml @@ -2,18 +2,18 @@ favicon: mimetype: image/vnd.microsoft.icon path: '' url: '' - use_default: '1' + use_default: true features: - comment_user_picture: '1' - comment_user_verification: '1' - favicon: '1' - logo: '1' - name: '1' - node_user_picture: '1' - main_menu: '1' - secondary_menu: '1' - slogan: '1' + comment_user_picture: true + comment_user_verification: true + favicon: true + logo: true + name: true + node_user_picture: true + main_menu: true + secondary_menu: true + slogan: true logo: path: '' url: '' - use_default: '1' + use_default: true diff --git a/core/modules/system/config/system.theme.yml b/core/modules/system/config/system.theme.yml index c56c7f2..e88d701 100644 --- a/core/modules/system/config/system.theme.yml +++ b/core/modules/system/config/system.theme.yml @@ -1,4 +1,4 @@ -admin: '0' +admin: '' enabled: - stark: '0' + stark: 0 default: stark diff --git a/core/modules/system/lib/Drupal/system/Tests/File/DirectoryTest.php b/core/modules/system/lib/Drupal/system/Tests/File/DirectoryTest.php index 7fd19c5..eef3373 100644 --- a/core/modules/system/lib/Drupal/system/Tests/File/DirectoryTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/File/DirectoryTest.php @@ -89,7 +89,7 @@ function testFileCheckDirectoryHandling() { } // Test that the directory has the correct permissions. - $this->assertDirectoryPermissions($directory, octdec(\Drupal::config('system.file')->get('chmod.directory'))); + $this->assertDirectoryPermissions($directory, \Drupal::config('system.file')->get('chmod.directory')); // Remove .htaccess file to then test that it gets re-created. @drupal_unlink(file_default_scheme() . '://.htaccess'); diff --git a/core/modules/system/lib/Drupal/system/Tests/File/FileTestBase.php b/core/modules/system/lib/Drupal/system/Tests/File/FileTestBase.php index 540c19a..30973ad 100644 --- a/core/modules/system/lib/Drupal/system/Tests/File/FileTestBase.php +++ b/core/modules/system/lib/Drupal/system/Tests/File/FileTestBase.php @@ -82,11 +82,6 @@ function assertSameFile(FileInterface $file1, FileInterface $file2) { * Optional message. */ function assertFilePermissions($filepath, $expected_mode, $message = NULL) { - // Configuration system stores default modes as strings. - if (is_string($expected_mode)) { - // Convert string to octal. - $expected_mode = octdec($expected_mode); - } // Clear out PHP's file stat cache to be sure we see the current value. clearstatcache(TRUE, $filepath); @@ -122,11 +117,6 @@ function assertFilePermissions($filepath, $expected_mode, $message = NULL) { * Optional message. */ function assertDirectoryPermissions($directory, $expected_mode, $message = NULL) { - // Configuration system stores default modes as strings. - if (is_string($expected_mode)) { - // Convert string to octal. - $expected_mode = octdec($expected_mode); - } // Clear out PHP's file stat cache to be sure we see the current value. clearstatcache(TRUE, $directory); diff --git a/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedCopyTest.php b/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedCopyTest.php index 70f1903..b9e4308 100644 --- a/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedCopyTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedCopyTest.php @@ -34,7 +34,7 @@ function testNormal() { $this->assertEqual($new_filepath, $desired_filepath, 'Returned expected filepath.'); $this->assertTrue(file_exists($uri), 'Original file remains.'); $this->assertTrue(file_exists($new_filepath), 'New file exists.'); - $this->assertFilePermissions($new_filepath, octdec($config->get('chmod.file'))); + $this->assertFilePermissions($new_filepath, $config->get('chmod.file')); // Copying with rename. $desired_filepath = 'public://' . $this->randomName(); @@ -44,7 +44,7 @@ function testNormal() { $this->assertNotEqual($newer_filepath, $desired_filepath, 'Returned expected filepath.'); $this->assertTrue(file_exists($uri), 'Original file remains.'); $this->assertTrue(file_exists($newer_filepath), 'New file exists.'); - $this->assertFilePermissions($newer_filepath, octdec($config->get('chmod.file'))); + $this->assertFilePermissions($newer_filepath, $config->get('chmod.file')); // TODO: test copying to a directory (rather than full directory/file path) // TODO: test copying normal files using normal paths (rather than only streams) @@ -75,7 +75,7 @@ function testOverwriteSelf() { $this->assertNotEqual($new_filepath, $uri, 'Copied file has a new name.'); $this->assertTrue(file_exists($uri), 'Original file exists after copying onto itself.'); $this->assertTrue(file_exists($new_filepath), 'Copied file exists after copying onto itself.'); - $this->assertFilePermissions($new_filepath, octdec($config->get('chmod.file'))); + $this->assertFilePermissions($new_filepath, $config->get('chmod.file')); // Copy the file onto itself without renaming fails. $new_filepath = file_unmanaged_copy($uri, $uri, FILE_EXISTS_ERROR); @@ -93,6 +93,6 @@ function testOverwriteSelf() { $this->assertNotEqual($new_filepath, $uri, 'Copied file has a new name.'); $this->assertTrue(file_exists($uri), 'Original file exists after copying onto itself.'); $this->assertTrue(file_exists($new_filepath), 'Copied file exists after copying onto itself.'); - $this->assertFilePermissions($new_filepath, octdec($config->get('chmod.file'))); + $this->assertFilePermissions($new_filepath, $config->get('chmod.file')); } } diff --git a/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedMoveTest.php b/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedMoveTest.php index 1503bd1..5901a9d 100644 --- a/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedMoveTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedMoveTest.php @@ -34,7 +34,7 @@ function testNormal() { $this->assertEqual($new_filepath, $desired_filepath, 'Returned expected filepath.'); $this->assertTrue(file_exists($new_filepath), 'File exists at the new location.'); $this->assertFalse(file_exists($uri), 'No file remains at the old location.'); - $this->assertFilePermissions($new_filepath, octdec($config->get('chmod.file'))); + $this->assertFilePermissions($new_filepath, $config->get('chmod.file')); // Moving with rename. $desired_filepath = 'public://' . $this->randomName(); @@ -45,7 +45,7 @@ function testNormal() { $this->assertNotEqual($newer_filepath, $desired_filepath, 'Returned expected filepath.'); $this->assertTrue(file_exists($newer_filepath), 'File exists at the new location.'); $this->assertFalse(file_exists($new_filepath), 'No file remains at the old location.'); - $this->assertFilePermissions($newer_filepath, octdec($config->get('chmod.file'))); + $this->assertFilePermissions($newer_filepath, $config->get('chmod.file')); // TODO: test moving to a directory (rather than full directory/file path) // TODO: test creating and moving normal files (rather than streams) diff --git a/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedSaveDataTest.php b/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedSaveDataTest.php index 043ed6c..1b03d13 100644 --- a/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedSaveDataTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/File/UnmanagedSaveDataTest.php @@ -36,6 +36,6 @@ function testFileSaveData() { $this->assertTrue($filepath, 'Unnamed file saved correctly.'); $this->assertEqual('asdf.txt', drupal_basename($filepath), 'File was named correctly.'); $this->assertEqual($contents, file_get_contents($filepath), 'Contents of the file are correct.'); - $this->assertFilePermissions($filepath, octdec(\Drupal::config('system.file')->get('chmod.file'))); + $this->assertFilePermissions($filepath, \Drupal::config('system.file')->get('chmod.file')); } } diff --git a/core/modules/system/tests/modules/config_upgrade/config/schema/config_upgrade.schema.yml b/core/modules/system/tests/modules/config_upgrade/config/schema/config_upgrade.schema.yml new file mode 100644 index 0000000..adb743f --- /dev/null +++ b/core/modules/system/tests/modules/config_upgrade/config/schema/config_upgrade.schema.yml @@ -0,0 +1,29 @@ +# Schema for the configuration files of the Config Upgrade Test module. + +config_upgrade.test: + type: mapping + label: 'Config upgrade test' + mapping: + parent: + type: mapping + label: 'Parent' + mapping: + bar: + type: string + label: 'Bar' + baz: + type: string + label: 'Baz' + foo: + type: string + label: 'Foo' + numeric_keys: + type: mapping + label: 'Numeric keys' + mapping: + '404': + type: string + label: '404' + '403': + type: string + label: '403' diff --git a/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test.full.yml b/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test.full.yml index cb44396..412942c 100644 --- a/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test.full.yml +++ b/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test.full.yml @@ -1,5 +1,5 @@ id: entity_test.full label: Full -status: '0' -cache: '1' +status: false +cache: true targetEntityType: entity_test diff --git a/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test.test.yml b/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test.test.yml index aa9b27e..baeed36 100644 --- a/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test.test.yml +++ b/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test.test.yml @@ -1,5 +1,5 @@ id: entity_test.test label: Test -status: '0' -cache: '0' +status: false +cache: false targetEntityType: entity_test diff --git a/core/modules/system/tests/modules/image_test/config/schema/image_test.schema.yml b/core/modules/system/tests/modules/image_test/config/schema/image_test.schema.yml new file mode 100644 index 0000000..ba8ff4c --- /dev/null +++ b/core/modules/system/tests/modules/image_test/config/schema/image_test.schema.yml @@ -0,0 +1,9 @@ +# Schema for the configuration files of the Image Test module. + +system.image.test_toolkit: + type: mapping + label: 'Image test toolkit' + mapping: + test_parameter: + type: integer + label: 'Test parameter' diff --git a/core/modules/system/tests/modules/menu_test/config/schema/menu_test.schema.yml b/core/modules/system/tests/modules/menu_test/config/schema/menu_test.schema.yml new file mode 100644 index 0000000..96a4bcf --- /dev/null +++ b/core/modules/system/tests/modules/menu_test/config/schema/menu_test.schema.yml @@ -0,0 +1,9 @@ +# Schema for the configuration files of the Hook Menu Test module. + +menu_test.menu_item: + type: mapping + label: 'Menu test' + mapping: + title: + type: label + label: 'Title' diff --git a/core/modules/system/tests/modules/update_script_test/config/schema/update_script_test.schema.yml b/core/modules/system/tests/modules/update_script_test/config/schema/update_script_test.schema.yml new file mode 100644 index 0000000..6efa594 --- /dev/null +++ b/core/modules/system/tests/modules/update_script_test/config/schema/update_script_test.schema.yml @@ -0,0 +1,10 @@ +# Schema for the configuration files of the Update Script Test module. + +update_script_test.settings: + type: mapping + label: '' + mapping: + requirement_type: + type: integer + label: 'Requirement type' + diff --git a/core/modules/system/tests/modules/update_script_test/config/update_script_test.settings.yml b/core/modules/system/tests/modules/update_script_test/config/update_script_test.settings.yml index e0be69e..0c4e667 100644 --- a/core/modules/system/tests/modules/update_script_test/config/update_script_test.settings.yml +++ b/core/modules/system/tests/modules/update_script_test/config/update_script_test.settings.yml @@ -1 +1 @@ -requirement_type: '0' +requirement_type: 0 diff --git a/core/modules/taxonomy/config/entity.view_mode.taxonomy_term.full.yml b/core/modules/taxonomy/config/entity.view_mode.taxonomy_term.full.yml index 3ab1f25..5acccd2 100644 --- a/core/modules/taxonomy/config/entity.view_mode.taxonomy_term.full.yml +++ b/core/modules/taxonomy/config/entity.view_mode.taxonomy_term.full.yml @@ -1,6 +1,6 @@ id: taxonomy_term.full uuid: dd617891-9328-496b-9500-b989ad5424f7 label: Taxonomy term page -status: '0' -cache: '1' +status: false +cache: true targetEntityType: taxonomy_term diff --git a/core/modules/taxonomy/config/schema/taxonomy.schema.yml b/core/modules/taxonomy/config/schema/taxonomy.schema.yml index 9170280..6c0cc45 100644 --- a/core/modules/taxonomy/config/schema/taxonomy.schema.yml +++ b/core/modules/taxonomy/config/schema/taxonomy.schema.yml @@ -61,7 +61,7 @@ field.taxonomy_term_reference.settings: type: string label: 'Vocabulary' parent: - type: string + type: integer value: 'Parent' field.taxonomy_term_reference.instance_settings: @@ -82,3 +82,42 @@ field.taxonomy_term_reference.value: type: integer label: 'Term ID' +entity_display.field.entity_reference_rss_category: + type: entity_field_display_base + label: 'Taxonomy format settings' + +entity_display.field.taxonomy_term_reference_plain: + type: entity_field_display_base + label: 'Taxonomy format settings' + +entity_display.field.taxonomy_term_reference_rss_category: + type: entity_field_display_base + label: 'Taxonomy format settings' + +entity_display.field.taxonomy_term_reference_link: + type: entity_field_display_base + label: 'Taxonomy format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_form_display.field.taxonomy_autocomplete: + type: entity_field_form_display_base + label: 'Autocomplete term widget (tagging) format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + size: + type: integer + label: 'Size' + autocomplete_route_name: + type: string + label: 'Autocomplete route name' + placeholder: + type: label + label: 'Placeholder' diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml index d14ecff..0173f9d 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml @@ -2,7 +2,7 @@ base_field: nid base_table: node core: 8.x description: '' -status: '1' +status: true display: default: display_plugin: default @@ -20,57 +20,57 @@ display: query: type: views_query options: - disable_sql_rewrite: '0' - distinct: '0' - slave: '0' + disable_sql_rewrite: false + distinct: false + slave: false query_comment: '' query_tags: { } exposed_form: type: basic options: submit_button: Apply - reset_button: '0' + reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' - expose_sort_order: '1' + expose_sort_order: true sort_asc_label: Asc sort_desc_label: Desc pager: type: full options: - items_per_page: '10' - offset: '0' - id: '0' + items_per_page: 10 + offset: 0 + id: 0 total_pages: '' expose: - items_per_page: '0' + items_per_page: false items_per_page_label: 'Items per page' items_per_page_options: '5, 10, 20, 40, 60' - items_per_page_options_all: '0' + items_per_page_options_all: false items_per_page_options_all_label: '- All -' - offset: '0' + offset: 0 offset_label: Offset tags: previous: '‹ previous' next: 'next ›' first: '« first' last: 'last »' - quantity: '9' + quantity: 9 style: type: default options: grouping: { } row_class: '' - default_row_class: '1' - row_class_special: '1' - uses_fields: '0' + default_row_class: true + row_class_special: true + uses_fields: false row: type: fields options: inline: { } separator: '' - hide_empty: '0' - default_field_elements: '1' + hide_empty: false + default_field_elements: true fields: title: id: title @@ -79,34 +79,34 @@ display: provider: node label: '' alter: - alter_text: '0' - make_link: '0' - absolute: '0' - trim: '0' - word_boundary: '0' - ellipsis: '0' - strip_tags: '0' - html: '0' - hide_empty: '0' - empty_zero: '0' - link_to_node: '1' + alter_text: false + make_link: false + absolute: false + trim: false + word_boundary: false + ellipsis: false + strip_tags: false + html: false + hide_empty: false + empty_zero: false + link_to_node: true relationship: none group_type: group admin_label: '' - exclude: '0' + exclude: false element_type: '' element_class: '' element_label_type: '' element_label_class: '' - element_label_colon: '1' + element_label_colon: true element_wrapper_type: '' element_wrapper_class: '' - element_default_classes: '1' + element_default_classes: true empty: '' - hide_alter_empty: '1' + hide_alter_empty: true filters: status: - value: '1' + value: true table: node_field_data field: status provider: node @@ -123,40 +123,40 @@ display: admin_label: '' operator: or value: - 2: '2' - group: '1' - exposed: '0' + 2: 2 + group: 1 + exposed: false expose: - operator_id: '0' + operator_id: 0 label: '' description: '' - use_operator: '0' + use_operator: false operator: '' identifier: '' - required: '0' - remember: '0' - multiple: '0' + required: false + remember: false + multiple: false remember_roles: authenticated: authenticated - reduce: '0' - is_grouped: '0' + reduce: false + is_grouped: false group_info: label: '' description: '' identifier: '' - optional: '1' + optional: true widget: select - multiple: '0' - remember: '0' + multiple: false + remember: false default_group: All default_group_multiple: { } group_items: { } - reduce_duplicates: '0' + reduce_duplicates: false type: select - limit: '1' + limit: true vid: tags - hierarchy: '1' - error_message: '1' + hierarchy: true + error_message: true plugin_id: taxonomy_index_tid provider: taxonomy sorts: { } diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_groupwise_term.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_groupwise_term.yml index 957f2b2..2dc1c2b 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_groupwise_term.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_groupwise_term.yml @@ -2,7 +2,7 @@ base_field: tid base_table: taxonomy_term_data core: 8.0-dev description: '' -status: '1' +status: true display: default: display_options: @@ -28,7 +28,7 @@ display: provider: node pager: options: - items_per_page: '10' + items_per_page: 10 type: full query: type: views_query @@ -40,10 +40,10 @@ display: id: tid_representative label: 'Representative node' relationship: none - required: '0' + required: false subquery_namespace: '' subquery_order: DESC - subquery_regenerate: '1' + subquery_regenerate: true subquery_sort: node.nid subquery_view: '' table: taxonomy_term_data diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_node_term_data.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_node_term_data.yml index 2aebe47..a3fc3ca 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_node_term_data.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_node_term_data.yml @@ -1,7 +1,7 @@ base_table: node core: '8' description: '' -status: '1' +status: true display: default: display_options: @@ -15,9 +15,9 @@ display: relationship: term_node_tid summary: format: default_summary - number_of_records: '0' + number_of_records: 0 summary_options: - items_per_page: '25' + items_per_page: 25 table: taxonomy_term_data plugin_id: taxonomy provider: taxonomy @@ -28,9 +28,9 @@ display: relationship: term_node_tid_1 summary: format: default_summary - number_of_records: '0' + number_of_records: 0 summary_options: - items_per_page: '25' + items_per_page: 25 table: taxonomy_term_data plugin_id: taxonomy provider: taxonomy @@ -49,7 +49,7 @@ display: label: 'Term #1' table: node vocabularies: - tags: '0' + tags: false plugin_id: node_term_data provider: taxonomy term_node_tid_1: @@ -58,7 +58,7 @@ display: label: 'Term #2' table: node vocabularies: - tags: '0' + tags: false plugin_id: node_term_data provider: taxonomy sorts: @@ -76,7 +76,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: test_taxonomy_node_term_data id: test_taxonomy_node_term_data tag: '' diff --git a/core/modules/telephone/config/schema/telephone.schema.yml b/core/modules/telephone/config/schema/telephone.schema.yml new file mode 100644 index 0000000..586b1e7 --- /dev/null +++ b/core/modules/telephone/config/schema/telephone.schema.yml @@ -0,0 +1,25 @@ +# Schema for the configuration files of the Telephone module. + +entity_display.field.telephone_link: + type: entity_field_display_base + label: 'Telephone link format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + title: + type: label + label: 'Title to replace basic numeric telephone number display.' + +entity_form_display.field.telephone_default: + type: entity_field_form_display_base + label: 'Telephone default format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + placeholder: + type: label + label: 'Placeholder' diff --git a/core/modules/text/config/schema/text.schema.yml b/core/modules/text/config/schema/text.schema.yml index c15ceed..c0ec52b 100644 --- a/core/modules/text/config/schema/text.schema.yml +++ b/core/modules/text/config/schema/text.schema.yml @@ -21,7 +21,7 @@ field.text.instance_settings: label: 'Text settings' mapping: text_processing: - type: string + type: integer label: 'Text processing' field.text.value: @@ -99,3 +99,95 @@ field.text_with_summary.value: format: type: string label: 'Text format' + +entity_display.field.text_default: + type: entity_field_display_base + label: 'Text default display format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_display.field.text_plain: + type: entity_field_display_base + label: 'Plain text display format settings' + mapping: + settings: + type: sequence + label: 'Settings' + sequence: + - type: string + +entity_display.field.text_summary_or_trimmed: + type: entity_field_display_base + label: 'Summary or trimmed text display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + trim_length: + type: integer + label: 'Trim length' + +entity_display.field.text_trimmed: + type: entity_field_display_base + label: 'Trimmed text display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + trim_length: + type: integer + label: 'Trim length' + +entity_form_display.field.text_textarea: + type: entity_field_form_display_base + label: 'Text area (multiple rows) display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + rows: + type: integer + label: 'Rows' + placeholder: + type: label + label: 'Placeholder' + +entity_form_display.field.text_textarea_with_summary: + type: entity_field_form_display_base + label: 'Text area with a summary display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + rows: + type: integer + label: 'Rows' + summary_rows: + type: integer + label: 'Number of summary rows' + placeholder: + type: label + label: 'Placeholder' + +entity_form_display.field.text_textfield: + type: entity_field_form_display_base + label: 'Text field display format settings' + mapping: + settings: + type: mapping + label: 'Settings' + mapping: + size: + type: integer + label: 'Size of textfield' + placeholder: + type: label + label: 'Placeholder' diff --git a/core/modules/tour/tests/tour_test/config/locale.config.it.tour.tour.tour-test.yml b/core/modules/tour/tests/tour_test/config/locale.config.it.tour.tour.tour-test.yml index e36e435..185237c 100644 --- a/core/modules/tour/tests/tour_test/config/locale.config.it.tour.tour.tour-test.yml +++ b/core/modules/tour/tests/tour_test/config/locale.config.it.tour.tour.tour-test.yml @@ -1,5 +1,5 @@ -label: Tour test italian +label: 'Tour test italian' tips: tour-test-1: - label: La pioggia cade in spagna - body: Per lo più in pianura. + label: 'La pioggia cade in spagna' + body: 'Per lo più in pianura.' diff --git a/core/modules/tour/tests/tour_test/config/tour.tour.tour-test-2.yml b/core/modules/tour/tests/tour_test/config/tour.tour.tour-test-2.yml index 62e5ae8..7c8e098 100644 --- a/core/modules/tour/tests/tour_test/config/tour.tour.tour-test-2.yml +++ b/core/modules/tour/tests/tour_test/config/tour.tour.tour-test-2.yml @@ -1,6 +1,6 @@ id: tour-test-2 module: tour_test -label: Tour test english +label: 'Tour test english' langcode: en paths: - tour-test-2/* @@ -8,8 +8,8 @@ tips: tour-test-2: id: tour-test-2 plugin: text - label: The quick brown fox - body: Per lo più in pianura. - weight: "2" + label: 'The quick brown fox' + body: 'Per lo più in pianura.' + weight: 2 attributes: data-id: tour-test-2 diff --git a/core/modules/tour/tests/tour_test/config/tour.tour.tour-test.yml b/core/modules/tour/tests/tour_test/config/tour.tour.tour-test.yml index 3fa6d5c..7745167 100644 --- a/core/modules/tour/tests/tour_test/config/tour.tour.tour-test.yml +++ b/core/modules/tour/tests/tour_test/config/tour.tour.tour-test.yml @@ -1,6 +1,6 @@ id: tour-test module: tour_test -label: Tour test english +label: 'Tour test english' langcode: en paths: - tour-test-1 @@ -8,32 +8,32 @@ tips: tour-test-1: id: tour-test-1 plugin: text - label: The first tip - body: Is [site:name] always the best dressed? - weight: "1" + label: 'The first tip' + body: 'Is [site:name] always the best dressed?' + weight: 1 attributes: data-id: tour-test-1 tour-test-action: id: tour-test-3 plugin: text - label: The action - body: The action button of awesome - weight: "2" + label: 'The action' + body: 'The action button of awesome' + weight: 2 attributes: data-class: button-action tour-test-3: id: tour-test-3 plugin: image - label: The awesome image - url: http://local/image.png - weight: "1" + label: 'The awesome image' + url: 'http://local/image.png' + weight: 1 attributes: data-id: tour-test-3 tour-test-6: id: tour-test-6 plugin: text - label: Im a list - body:

Im all these things:

- weight: "6" + label: 'Im a list' + body: '

Im all these things:

' + weight: 6 attributes: data-id: tour-test-3 diff --git a/core/modules/tracker/tests/modules/tracker_test_views/test_views/views.view.test_tracker_user_uid.yml b/core/modules/tracker/tests/modules/tracker_test_views/test_views/views.view.test_tracker_user_uid.yml index f49627a..c76e236 100644 --- a/core/modules/tracker/tests/modules/tracker_test_views/test_views/views.view.test_tracker_user_uid.yml +++ b/core/modules/tracker/tests/modules/tracker_test_views/test_views/views.view.test_tracker_user_uid.yml @@ -2,7 +2,7 @@ base_field: nid base_table: node core: 8.x description: '' -status: '1' +status: true display: default: display_plugin: default @@ -25,23 +25,23 @@ display: options: grouping: { } row_class: '' - default_row_class: '1' - row_class_special: '1' - override: '1' - sticky: '0' + default_row_class: true + row_class_special: true + override: true + sticky: false summary: '' columns: title: title info: title: - sortable: '1' + sortable: true default_sort_order: asc align: '' separator: '' - empty_column: '0' + empty_column: false responsive: '' - default: '-1' - empty_table: '0' + default: -1 + empty_table: false row: type: fields fields: @@ -53,47 +53,47 @@ display: group_type: group admin_label: '' label: Title - exclude: '0' + exclude: false alter: - alter_text: '0' + alter_text: false text: '' - make_link: '0' + make_link: false path: '' - absolute: '0' - external: '0' - replace_spaces: '0' + absolute: false + external: false + replace_spaces: false path_case: none - trim_whitespace: '0' + trim_whitespace: false alt: '' rel: '' link_class: '' prefix: '' suffix: '' target: '' - nl2br: '0' + nl2br: false max_length: '' - word_boundary: '0' - ellipsis: '0' - more_link: '0' + word_boundary: false + ellipsis: false + more_link: false more_link_text: '' more_link_path: '' - strip_tags: '0' - trim: '0' + strip_tags: false + trim: false preserve_tags: '' - html: '0' + html: false element_type: '' element_class: '' element_label_type: '' element_label_class: '' - element_label_colon: '1' + element_label_colon: true element_wrapper_type: '' element_wrapper_class: '' - element_default_classes: '1' + element_default_classes: true empty: '' - hide_empty: '0' - empty_zero: '0' - hide_alter_empty: '1' - link_to_node: '1' + hide_empty: false + empty_zero: false + hide_alter_empty: true + link_to_node: true provider: node filters: uid_touch_tracker: @@ -105,33 +105,31 @@ display: admin_label: '' operator: in value: - - '0' - group: '1' - exposed: '0' + - 0 + group: 1 + exposed: false expose: operator_id: '' label: 'User posted or commented' description: '' - use_operator: '0' + use_operator: false operator: uid_touch_tracker_op identifier: uid_touch_tracker - required: '0' - remember: '0' - multiple: '0' + required: false + remember: false + multiple: false remember_roles: authenticated: authenticated - anonymous: '0' - administrator: '0' - reduce: '0' - is_grouped: '0' + reduce: false + is_grouped: false group_info: label: '' description: '' identifier: '' - optional: '1' + optional: true widget: select - multiple: '0' - remember: '0' + multiple: false + remember: false default_group: All default_group_multiple: { } group_items: { } @@ -148,24 +146,24 @@ display: default_action: ignore exception: value: all - title_enable: '0' + title_enable: false title: All - title_enable: '0' + title_enable: false title: '' default_argument_type: fixed default_argument_options: argument: '' - default_argument_skip_url: '0' + default_argument_skip_url: false summary_options: base_path: '' - count: '1' - items_per_page: '25' - override: '0' + count: 1 + items_per_page: 25 + override: false summary: sort_order: asc - number_of_records: '0' + number_of_records: 0 format: default_summary - specify_validation: '0' + specify_validation: false validate: type: none fail: 'not found' diff --git a/core/modules/update/config/schema/update.schema.yml b/core/modules/update/config/schema/update.schema.yml index c9d80a3..cc6e6cd 100644 --- a/core/modules/update/config/schema/update.schema.yml +++ b/core/modules/update/config/schema/update.schema.yml @@ -38,5 +38,5 @@ update.settings: - type: email label: 'E-mail' threshold: - type: string + type: integer label: 'E-mail notification threshold' diff --git a/core/modules/update/config/update.settings.yml b/core/modules/update/config/update.settings.yml index 162a53d..031c1ef 100644 --- a/core/modules/update/config/update.settings.yml +++ b/core/modules/update/config/update.settings.yml @@ -7,4 +7,4 @@ fetch: timeout: 5 notification: emails: { } - threshold: '0' + threshold: 0 diff --git a/core/modules/update/tests/modules/update_test/config/schema/update_test.schema.yml b/core/modules/update/tests/modules/update_test/config/schema/update_test.schema.yml new file mode 100644 index 0000000..cbe32d4 --- /dev/null +++ b/core/modules/update/tests/modules/update_test/config/schema/update_test.schema.yml @@ -0,0 +1,24 @@ +# Schema for the configuration files of the Update Test module. + +update_test.settings: + type: mapping + label: 'Update test settings' + mapping: + system_info: + type: seqeuence + label: 'System info' + sequence: + - type: string + label: 'Value' + update_status: + type: seqeuence + label: 'Update status' + sequence: + - type: string + label: 'Value' + xml_map: + type: seqeuence + label: 'XML map' + sequence: + - type: string + label: 'Value' diff --git a/core/modules/update/tests/modules/update_test/config/update_test.settings.yml b/core/modules/update/tests/modules/update_test/config/update_test.settings.yml index a52338a..ff35651 100644 --- a/core/modules/update/tests/modules/update_test/config/update_test.settings.yml +++ b/core/modules/update/tests/modules/update_test/config/update_test.settings.yml @@ -1,3 +1,3 @@ system_info: [] update_status: [] -xml_map: '0' +xml_map: [] diff --git a/core/modules/user/config/schema/user.schema.yml b/core/modules/user/config/schema/user.schema.yml index 5aec5a2..23a688a 100644 --- a/core/modules/user/config/schema/user.schema.yml +++ b/core/modules/user/config/schema/user.schema.yml @@ -143,3 +143,30 @@ user.role.*: langcode: type: string label: 'Default language' + +action.configuration.user_add_role_action: + type: action_configuration_default + label: 'Add a role to the selected users configuration' + +action.configuration.user_block_user_action: + type: action_configuration_default + label: 'Block the selected users configuration' + +action.configuration.user_cancel_user_action: + type: action_configuration_default + label: 'Cancel the selected user accounts configuration' + +action.configuration.user_remove_role_action: + type: mapping + label: 'Remove a role from the selected users configuration' + mapping: + rid: + type: sequence + label: 'Roles' + sequence: + - type: sequence + label: 'Role' + +action.configuration.user_unblock_user_action: + type: action_configuration_default + label: 'Unblock the selected users configuration' diff --git a/core/modules/user/config/system.action.user_block_user_action.yml b/core/modules/user/config/system.action.user_block_user_action.yml index 8a63a79..19453b6 100644 --- a/core/modules/user/config/system.action.user_block_user_action.yml +++ b/core/modules/user/config/system.action.user_block_user_action.yml @@ -1,7 +1,7 @@ id: user_block_user_action uuid: 0e67a49a-8d5b-468c-9702-2eeb1441f45a label: 'Block the selected user(s)' -status: '1' +status: true langcode: en type: user plugin: user_block_user_action diff --git a/core/modules/user/config/system.action.user_cancel_user_action.yml b/core/modules/user/config/system.action.user_cancel_user_action.yml index b4c9b86..92cb62e 100644 --- a/core/modules/user/config/system.action.user_cancel_user_action.yml +++ b/core/modules/user/config/system.action.user_cancel_user_action.yml @@ -1,7 +1,7 @@ id: user_cancel_user_action uuid: 73748b91-e690-455e-b949-73fdd60742a8 label: 'Cancel the selected user account(s)' -status: '1' +status: true langcode: en type: user plugin: user_cancel_user_action diff --git a/core/modules/user/config/system.action.user_unblock_user_action.yml b/core/modules/user/config/system.action.user_unblock_user_action.yml index fda803e..3119149 100644 --- a/core/modules/user/config/system.action.user_unblock_user_action.yml +++ b/core/modules/user/config/system.action.user_unblock_user_action.yml @@ -1,7 +1,7 @@ id: user_unblock_user_action uuid: c97b142f-d25a-41af-ae06-6a535b880ba8 label: 'Unblock the selected user(s)' -status: '1' +status: true langcode: en type: user plugin: user_unblock_user_action diff --git a/core/profiles/standard/config/block.block.bartik_breadcrumbs.yml b/core/profiles/standard/config/block.block.bartik_breadcrumbs.yml index c915c46..21d410d 100644 --- a/core/profiles/standard/config/block.block.bartik_breadcrumbs.yml +++ b/core/profiles/standard/config/block.block.bartik_breadcrumbs.yml @@ -1,8 +1,8 @@ id: bartik_breadcrumbs theme: bartik uuid: a29e843f-d19c-4528-ab02-2fc335e12b1e -weight: '-5' -status: '0' +weight: -5 +status: false langcode: en region: '-1' plugin: system_breadcrumb_block @@ -10,10 +10,10 @@ settings: label: Breadcrumbs module: system label_display: '0' - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/standard/config/block.block.bartik_content.yml b/core/profiles/standard/config/block.block.bartik_content.yml index 5b7187b..0098966 100644 --- a/core/profiles/standard/config/block.block.bartik_content.yml +++ b/core/profiles/standard/config/block.block.bartik_content.yml @@ -1,8 +1,8 @@ id: bartik_content theme: bartik uuid: 2cab5a0c-de08-4b5c-9700-f0243a6fb000 -weight: '0' -status: '1' +weight: 0 +status: true langcode: en region: content plugin: system_main_block @@ -10,10 +10,10 @@ settings: label: 'Main page content' module: system label_display: '0' - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/standard/config/block.block.bartik_footer.yml b/core/profiles/standard/config/block.block.bartik_footer.yml index 2ad2766..7578cb6 100644 --- a/core/profiles/standard/config/block.block.bartik_footer.yml +++ b/core/profiles/standard/config/block.block.bartik_footer.yml @@ -1,8 +1,8 @@ id: bartik_footer theme: bartik uuid: a6c75fc2-5ca1-403e-ab37-557c7244e8c0 -weight: '0' -status: '1' +weight: 0 +status: true langcode: en region: footer plugin: 'system_menu_block:footer' @@ -10,10 +10,10 @@ settings: label: 'Footer menu' module: system label_display: visible - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/standard/config/block.block.bartik_help.yml b/core/profiles/standard/config/block.block.bartik_help.yml index c697560..a79e8b9 100644 --- a/core/profiles/standard/config/block.block.bartik_help.yml +++ b/core/profiles/standard/config/block.block.bartik_help.yml @@ -1,8 +1,8 @@ id: bartik_help theme: bartik uuid: 6ea8e05a-6793-4ecf-8801-015dc6e1013e -weight: '0' -status: '1' +weight: 0 +status: true langcode: en region: help plugin: system_help_block @@ -10,10 +10,10 @@ settings: label: 'System Help' module: system label_display: '0' - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/standard/config/block.block.bartik_login.yml b/core/profiles/standard/config/block.block.bartik_login.yml index e94f562..47aa159 100644 --- a/core/profiles/standard/config/block.block.bartik_login.yml +++ b/core/profiles/standard/config/block.block.bartik_login.yml @@ -1,8 +1,8 @@ id: bartik_login theme: bartik uuid: 961f4152-3e91-4c9f-9114-20a5375675d0 -weight: '0' -status: '1' +weight: 0 +status: true langcode: en region: sidebar_first plugin: user_login_block @@ -10,10 +10,10 @@ settings: label: 'User login' module: user label_display: visible - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/standard/config/block.block.bartik_powered.yml b/core/profiles/standard/config/block.block.bartik_powered.yml index 265f271..24754e7 100644 --- a/core/profiles/standard/config/block.block.bartik_powered.yml +++ b/core/profiles/standard/config/block.block.bartik_powered.yml @@ -1,8 +1,8 @@ id: bartik_powered theme: bartik uuid: 37cff101-27dc-478d-9d00-b58b9d884039 -weight: '10' -status: '1' +weight: 10 +status: true langcode: en region: footer plugin: system_powered_by_block @@ -10,10 +10,10 @@ settings: label: 'Powered by Drupal' module: system label_display: '0' - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/standard/config/block.block.bartik_search.yml b/core/profiles/standard/config/block.block.bartik_search.yml index d37e197..c1a6942 100644 --- a/core/profiles/standard/config/block.block.bartik_search.yml +++ b/core/profiles/standard/config/block.block.bartik_search.yml @@ -1,8 +1,8 @@ id: bartik_search theme: bartik uuid: 51f70058-a370-4410-9000-a65488d00e6c -weight: '-1' -status: '1' +weight: -1 +status: true langcode: en region: sidebar_first plugin: search_form_block @@ -10,10 +10,10 @@ settings: label: Search module: search label_display: visible - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/standard/config/block.block.bartik_tools.yml b/core/profiles/standard/config/block.block.bartik_tools.yml index b940651..5850d61 100644 --- a/core/profiles/standard/config/block.block.bartik_tools.yml +++ b/core/profiles/standard/config/block.block.bartik_tools.yml @@ -1,8 +1,8 @@ id: bartik_tools theme: bartik uuid: 0dca3209-c6fa-4043-a407-7afb952cfc5e -weight: '0' -status: '1' +weight: 0 +status: true langcode: en region: sidebar_first plugin: 'system_menu_block:tools' @@ -10,10 +10,10 @@ settings: label: Tools module: system label_display: visible - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/standard/config/block.block.seven_breadcrumbs.yml b/core/profiles/standard/config/block.block.seven_breadcrumbs.yml index d314031..092fa26 100644 --- a/core/profiles/standard/config/block.block.seven_breadcrumbs.yml +++ b/core/profiles/standard/config/block.block.seven_breadcrumbs.yml @@ -1,8 +1,8 @@ id: seven_breadcrumbs theme: seven uuid: f8d0d0fb-daf7-4c91-8a09-9cb643279f03 -weight: '-2' -status: '0' +weight: -2 +status: false langcode: en region: '-1' plugin: system_breadcrumb_block @@ -10,10 +10,10 @@ settings: label: Breadcrumbs module: system label_display: '0' - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/standard/config/block.block.seven_content.yml b/core/profiles/standard/config/block.block.seven_content.yml index 39f26ff..e1591e5 100644 --- a/core/profiles/standard/config/block.block.seven_content.yml +++ b/core/profiles/standard/config/block.block.seven_content.yml @@ -1,8 +1,8 @@ id: seven_content theme: seven uuid: 3c9e3337-e0f4-42c3-8a00-f1d8be09b0ea -weight: '0' -status: '1' +weight: 0 +status: true langcode: en region: content plugin: system_main_block @@ -10,10 +10,10 @@ settings: label: 'Main page content' module: system label_display: '0' - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/standard/config/block.block.seven_help.yml b/core/profiles/standard/config/block.block.seven_help.yml index 8536232..5e39acf 100644 --- a/core/profiles/standard/config/block.block.seven_help.yml +++ b/core/profiles/standard/config/block.block.seven_help.yml @@ -1,8 +1,8 @@ id: seven_help theme: seven uuid: 367d09b7-9638-4faf-bf07-7fe31b2226a0 -weight: '0' -status: '1' +weight: 0 +status: true langcode: en region: help plugin: system_help_block @@ -10,10 +10,10 @@ settings: label: 'System Help' module: system label_display: '0' - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/standard/config/block.block.seven_login.yml b/core/profiles/standard/config/block.block.seven_login.yml index d3e62fa..dab202f 100644 --- a/core/profiles/standard/config/block.block.seven_login.yml +++ b/core/profiles/standard/config/block.block.seven_login.yml @@ -1,8 +1,8 @@ id: seven_login theme: seven uuid: 10a9888b-2247-408d-9702-2c0cc9cacba2 -weight: '10' -status: '1' +weight: 10 +status: true langcode: en region: content plugin: user_login_block @@ -10,10 +10,10 @@ settings: label: 'User login' module: user label_display: visible - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/standard/config/entity.display.node.article.default.yml b/core/profiles/standard/config/entity.display.node.article.default.yml index 33d77f0..8df7b84 100644 --- a/core/profiles/standard/config/entity.display.node.article.default.yml +++ b/core/profiles/standard/config/entity.display.node.article.default.yml @@ -3,16 +3,16 @@ uuid: 3ca9876e-7b93-48bd-8f00-b4ce293ad554 targetEntityType: node bundle: article mode: default -status: 1 +status: true content: body: label: hidden type: text_default - weight: '0' + weight: 0 settings: { } field_tags: type: taxonomy_term_reference_link - weight: '10' + weight: 10 label: above settings: { } field_image: @@ -21,4 +21,4 @@ content: settings: image_style: large image_link: '' - weight: '-1' + weight: -1 diff --git a/core/profiles/standard/config/entity.display.node.article.teaser.yml b/core/profiles/standard/config/entity.display.node.article.teaser.yml index a11caae..84133de 100644 --- a/core/profiles/standard/config/entity.display.node.article.teaser.yml +++ b/core/profiles/standard/config/entity.display.node.article.teaser.yml @@ -3,17 +3,17 @@ uuid: 7156f406-c67c-4d1f-bd35-53dbf20ee7e4 targetEntityType: node bundle: article mode: teaser -status: 1 +status: true content: body: label: hidden type: text_summary_or_trimmed - weight: '0' + weight: 0 settings: - trim_length: '600' + trim_length: 600 field_tags: type: taxonomy_term_reference_link - weight: '10' + weight: 10 label: above settings: { } field_image: @@ -22,4 +22,4 @@ content: settings: image_style: medium image_link: content - weight: '-1' + weight: -1 diff --git a/core/profiles/standard/config/entity.form_display.node.article.default.yml b/core/profiles/standard/config/entity.form_display.node.article.default.yml index f3007ac..cefd0b4 100644 --- a/core/profiles/standard/config/entity.form_display.node.article.default.yml +++ b/core/profiles/standard/config/entity.form_display.node.article.default.yml @@ -3,20 +3,20 @@ uuid: 1756324d-52bd-499c-8b06-6d6a87ea71bd targetEntityType: node bundle: article mode: default -status: 1 +status: true content: body: type: text_textarea_with_summary - weight: '0' + weight: 0 settings: - rows: '9' - summary_rows: '3' + rows: 9 + summary_rows: 3 placeholder: '' field_tags: type: taxonomy_autocomplete - weight: '-4' + weight: -4 settings: - size: '60' + size: 60 autocomplete_route_name: taxonomy.autocomplete placeholder: '' field_image: @@ -24,4 +24,4 @@ content: settings: progress_indicator: throbber preview_image_style: thumbnail - weight: '-1' + weight: -1 diff --git a/core/profiles/standard/config/field.field.node.field_image.yml b/core/profiles/standard/config/field.field.node.field_image.yml index 4c8ea1a..71d28d6 100644 --- a/core/profiles/standard/config/field.field.node.field_image.yml +++ b/core/profiles/standard/config/field.field.node.field_image.yml @@ -25,11 +25,11 @@ settings: title: label: Title translatable: true -locked: '0' -cardinality: '1' -translatable: '0' +locked: false +cardinality: 1 +translatable: false indexes: target_id: - target_id -status: 1 +status: true langcode: und diff --git a/core/profiles/standard/config/field.field.node.field_tags.yml b/core/profiles/standard/config/field.field.node.field_tags.yml index 0875bfc..08527c3 100644 --- a/core/profiles/standard/config/field.field.node.field_tags.yml +++ b/core/profiles/standard/config/field.field.node.field_tags.yml @@ -9,11 +9,11 @@ settings: - vocabulary: tags parent: 0 -locked: '0' -cardinality: '-1' -translatable: '0' +locked: false +cardinality: -1 +translatable: false indexes: target_id: - target_id -status: 1 +status: true langcode: und diff --git a/core/profiles/standard/config/field.instance.node.article.field_image.yml b/core/profiles/standard/config/field.instance.node.article.field_image.yml index 791d047..12c5911 100644 --- a/core/profiles/standard/config/field.instance.node.article.field_image.yml +++ b/core/profiles/standard/config/field.instance.node.article.field_image.yml @@ -15,14 +15,15 @@ settings: max_resolution: '' min_resolution: '' alt_field: true - title_field: '' - alt_field_required: 0 - title_field_required: 0 + title_field: false + alt_field_required: false + title_field_required: false default_image: fid: null alt: '' title: '' width: null height: null -status: 1 +status: true langcode: und +field_type: image diff --git a/core/profiles/standard/config/field.instance.node.article.field_tags.yml b/core/profiles/standard/config/field.instance.node.article.field_tags.yml index d0c7fbe..55b95e9 100644 --- a/core/profiles/standard/config/field.instance.node.article.field_tags.yml +++ b/core/profiles/standard/config/field.instance.node.article.field_tags.yml @@ -9,5 +9,5 @@ required: false default_value: { } default_value_function: '' settings: { } -status: 1 +status: true langcode: und diff --git a/core/profiles/standard/config/field.instance.user.user.user_picture.yml b/core/profiles/standard/config/field.instance.user.user.user_picture.yml index 20f5a63..ef297e8 100644 --- a/core/profiles/standard/config/field.instance.user.user.user_picture.yml +++ b/core/profiles/standard/config/field.instance.user.user.user_picture.yml @@ -14,8 +14,8 @@ settings: file_extensions: 'png gif jpg jpeg' file_directory: pictures max_filesize: '30 KB' - alt_field: 0 - title_field: 0 + alt_field: false + title_field: false max_resolution: 85x85 min_resolution: '' default_image: @@ -24,6 +24,6 @@ settings: title: '' width: null height: null - alt_field_required: '0' - title_field_required: '0' + alt_field_required: false + title_field_required: false field_type: image diff --git a/core/profiles/standard/config/filter.format.basic_html.yml b/core/profiles/standard/config/filter.format.basic_html.yml index f5acb95..ccb72a1 100644 --- a/core/profiles/standard/config/filter.format.basic_html.yml +++ b/core/profiles/standard/config/filter.format.basic_html.yml @@ -19,7 +19,7 @@ filters: filter_caption: id: filter_caption provider: filter - status: 1 + status: true weight: 8 settings: { } filter_html_image_secure: diff --git a/core/profiles/standard/config/node.type.article.yml b/core/profiles/standard/config/node.type.article.yml index a3e10b2..ae7ec97 100644 --- a/core/profiles/standard/config/node.type.article.yml +++ b/core/profiles/standard/config/node.type.article.yml @@ -3,16 +3,16 @@ uuid: 38fcdfbf-92a0-43d3-af30-8395cba668d4 name: Article description: 'Use articles for time-sensitive content like news, press releases or blog posts.' help: '' -has_title: '1' +has_title: true title_label: Title settings: node: - preview: '1' + preview: 1 options: status: true promote: true sticky: false revision: false submitted: true -status: '1' +status: true langcode: en diff --git a/core/profiles/standard/config/node.type.page.yml b/core/profiles/standard/config/node.type.page.yml index d41ae94..8499d33 100644 --- a/core/profiles/standard/config/node.type.page.yml +++ b/core/profiles/standard/config/node.type.page.yml @@ -3,16 +3,16 @@ uuid: f77b56af-2b34-4a2f-b7e9-2dcadfdc80d0 name: 'Basic page' description: 'Use basic pages for your static content, such as an ''About us'' page.' help: '' -has_title: '1' +has_title: true title_label: Title settings: node: - preview: '1' + preview: 1 options: status: true promote: false sticky: false revision: false submitted: false -status: '1' +status: true langcode: en diff --git a/core/profiles/standard/config/system.cron.yml b/core/profiles/standard/config/system.cron.yml index aa41f1b..9289f28 100644 --- a/core/profiles/standard/config/system.cron.yml +++ b/core/profiles/standard/config/system.cron.yml @@ -1,4 +1,4 @@ threshold: - autorun: '10800' - requirements_warning: '172800' - requirements_error: '1209600' + autorun: 10800 + requirements_warning: 172800 + requirements_error: 1209600 diff --git a/core/profiles/standard/config/taxonomy.vocabulary.tags.yml b/core/profiles/standard/config/taxonomy.vocabulary.tags.yml index ec0d5ef..dd0d326 100644 --- a/core/profiles/standard/config/taxonomy.vocabulary.tags.yml +++ b/core/profiles/standard/config/taxonomy.vocabulary.tags.yml @@ -2,7 +2,7 @@ vid: tags uuid: f0c0ffc8-0936-46db-b106-6bf5c9f8dfa3 name: Tags description: 'Use tags to group articles on similar topics into categories.' -hierarchy: '0' -weight: '0' -status: '1' +hierarchy: 0 +weight: 0 +status: true langcode: en diff --git a/core/themes/bartik/config/bartik.settings.yml b/core/themes/bartik/config/bartik.settings.yml index 67537ae..3bb124e 100644 --- a/core/themes/bartik/config/bartik.settings.yml +++ b/core/themes/bartik/config/bartik.settings.yml @@ -1 +1 @@ -shortcut_module_link: '0' +shortcut_module_link: false diff --git a/core/themes/bartik/config/schema/bartik.schema.yml b/core/themes/bartik/config/schema/bartik.schema.yml new file mode 100644 index 0000000..f0e0316 --- /dev/null +++ b/core/themes/bartik/config/schema/bartik.schema.yml @@ -0,0 +1,5 @@ +# Schema for the configuration files of the Seven theme. + +bartik.settings: + type: theme_settings_default + label: 'Bartik settings' diff --git a/core/themes/seven/config/schema/seven.schema.yml b/core/themes/seven/config/schema/seven.schema.yml new file mode 100644 index 0000000..13f1384 --- /dev/null +++ b/core/themes/seven/config/schema/seven.schema.yml @@ -0,0 +1,9 @@ +# Schema for the configuration files of the Seven theme. + +seven.settings: + type: theme_settings_default + label: 'Seven settings' + +seven.breakpoints: + type: theme_breakpoints_default + label: 'Seven breakpoints' diff --git a/core/themes/seven/config/seven.settings.yml b/core/themes/seven/config/seven.settings.yml index 7955d25..f84652c 100644 --- a/core/themes/seven/config/seven.settings.yml +++ b/core/themes/seven/config/seven.settings.yml @@ -1 +1 @@ -shortcut_module_link: '1' +shortcut_module_link: true diff --git a/core/themes/stark/config/schema/stark.schema.yml b/core/themes/stark/config/schema/stark.schema.yml new file mode 100644 index 0000000..6e0293e --- /dev/null +++ b/core/themes/stark/config/schema/stark.schema.yml @@ -0,0 +1,9 @@ +# Schema for the configuration files of the Stark theme. + +stark.settings: + type: theme_settings_default + label: 'Stark settings' + +stark.breakpoints: + type: theme_breakpoints_default + label: 'Stark breakpoints' diff --git a/core/themes/stark/config/stark.settings.yml b/core/themes/stark/config/stark.settings.yml index 67537ae..3bb124e 100644 --- a/core/themes/stark/config/stark.settings.yml +++ b/core/themes/stark/config/stark.settings.yml @@ -1 +1 @@ -shortcut_module_link: '0' +shortcut_module_link: false