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/lib/Drupal/Core/Config/Config.php b/core/lib/Drupal/Core/Config/Config.php index eed4f89..77ce647 100644 --- a/core/lib/Drupal/Core/Config/Config.php +++ b/core/lib/Drupal/Core/Config/Config.php @@ -616,9 +616,12 @@ protected function castValue($key, $value) { } } else { - // Any non-scalar value must be an array. + // Throw exception on any non-scalar or non-array value. if (!is_array($value)) { - $value = (array) $value; + throw new UnsupportedConfigDataTypeException(format_string('Invalid data type for config element @name:@key', array( + '@name' => $this->getName(), + '@key' => $key, + ))); } // Recurse into any nested keys. foreach ($value as $nested_value_key => $nested_value) { diff --git a/core/lib/Drupal/Core/Config/UnsupportedConfigDataTypeException.php b/core/lib/Drupal/Core/Config/UnsupportedConfigDataTypeException.php new file mode 100644 index 0000000..ac63c26 --- /dev/null +++ b/core/lib/Drupal/Core/Config/UnsupportedConfigDataTypeException.php @@ -0,0 +1,14 @@ +set('stream', fopen(__FILE__, 'r'))->save(); $this->fail('No Exception thrown upon saving invalid data type.'); } - catch (\Exception $e) { + catch (UnsupportedConfigDataTypeException $e) { $this->pass(format_string('%class thrown upon saving invalid data type.', array( '%class' => get_class($e), ))); diff --git a/core/modules/config/lib/Drupal/config/Tests/ConfigSchemaTest.php b/core/modules/config/lib/Drupal/config/Tests/ConfigSchemaTest.php index 5d8f259..c274fff 100644 --- a/core/modules/config/lib/Drupal/config/Tests/ConfigSchemaTest.php +++ b/core/modules/config/lib/Drupal/config/Tests/ConfigSchemaTest.php @@ -59,8 +59,18 @@ function testSchemaMapping() { $expected = array(); $expected['label'] = 'Schema test data'; $expected['class'] = '\Drupal\Core\Config\Schema\Mapping'; - $expected['mapping']['testitem'] = array('label' => 'Test item'); - $expected['mapping']['testlist'] = array('label' => 'Test list'); + $expected['mapping']['testitem'] = array( + 'label' => 'Test item', + 'type' => 'string', + ); + $expected['mapping']['testlist'] = array( + 'label' => 'Test list', + 'type' => 'sequence' + ); + $expected['mapping']['testlist']['sequence'][] = array( + 'type' => 'string', + 'label' => 'Test', + ); $this->assertEqual($definition, $expected, 'Retrieved the right metadata for configuration with only some schema.'); // Check type detection on elements with undefined types. @@ -74,8 +84,12 @@ function testSchemaMapping() { $definition = $config['testlist']->getDefinition(); $expected = array(); $expected['label'] = 'Test list'; - $expected['class'] = '\Drupal\Core\Config\Schema\Property'; - $expected['type'] = 'undefined'; + $expected['class'] = '\Drupal\Core\Config\Schema\Sequence'; + $expected['type'] = 'sequence'; + $expected['sequence'][] = array( + 'type' => 'string', + 'label' => 'Test', + ); $this->assertEqual($definition, $expected, 'Automatic type fallback on non-string item worked.'); // Simple case, straight metadata. @@ -144,10 +158,10 @@ function testSchemaMapping() { $expected = array(); $expected['label'] = 'Schema multiple filesytem marker test'; $expected['class'] = '\Drupal\Core\Config\Schema\Mapping'; - $expected['mapping']['id']['type'] = 'string'; - $expected['mapping']['id']['label'] = 'ID'; - $expected['mapping']['description']['type'] = 'text'; - $expected['mapping']['description']['label'] = 'Description'; + $expected['mapping']['testid']['type'] = 'string'; + $expected['mapping']['testid']['label'] = 'ID'; + $expected['mapping']['testdescription']['type'] = 'text'; + $expected['mapping']['testdescription']['label'] = 'Description'; $this->assertEqual($definition, $expected, 'Retrieved the right metadata for config_test.someschema.somemodule.section_one.subsection'); diff --git a/core/modules/config/lib/Drupal/config/Tests/DefaultConfigTest.php b/core/modules/config/lib/Drupal/config/Tests/DefaultConfigTest.php new file mode 100644 index 0000000..437c04e --- /dev/null +++ b/core/modules/config/lib/Drupal/config/Tests/DefaultConfigTest.php @@ -0,0 +1,147 @@ + 'Default configuration', + 'description' => 'Tests that default configuration provided by all modules matches schema.', + 'group' => 'Configuration', + ); + } + + public function testDefaultConfig() { + /** @var \Drupal\Core\Config\TypedConfigManager $typed_config */ + $typed_config = $this->container->get('config.typed'); + + $default_config_storage = new InstallStorage(); + foreach ($default_config_storage->listAll() as $config_name) { + // @todo: remove once migration and + // translation (https://drupal.org/node/2168609) schemas are in. + if (strpos($config_name, 'migrate.migration') === 0 || strpos($config_name, 'language.config') === 0) { + continue; + } + // config_test.noschema has to be skipped as it tests + // TypedConfigManagerInterface::hasConfigSchema() method. + if ($config_name == 'config_test.noschema') { + continue; + } + + $this->configName = $config_name; + $data = $default_config_storage->read($config_name); + if (!$typed_config->hasConfigSchema($config_name)) { + $this->fail(String::format('No schema for !config_name', array('!config_name' => $config_name))); + continue; + } + $definition = $typed_config->getDefinition($config_name); + $this->schema = $typed_config->create($definition, $data); + $this->configPass = TRUE; + foreach ($data as $key => $value) { + $this->checkValue($key, $value); + } + if ($this->configPass) { + $this->pass(String::format('Schema found for !config_name and values comply with schema.', array('!config_name' => $config_name))); + } + } + } + + protected function checkValue($key, $value) { + if (is_scalar($value) || $value === NULL) { + try { + $success = FALSE; + $type = gettype($value); + $element = $this->schema->get($key); + if ($element instanceof PrimitiveInterface) { + if ($type == 'integer' && $element instanceof IntegerInterface) { + $success = TRUE; + } + if ($type == 'double' && $element instanceof FloatInterface) { + $success = TRUE; + } + if ($type == 'boolean' && $element instanceof BooleanInterface) { + $success = TRUE; + } + if ($type == 'string' && ($element instanceof StringInterface || $element instanceof Property)) { + $success = TRUE; + } + // Null values are allowed for all types. + if ($value === NULL) { + $success = TRUE; + } + } + else { + // Hmmm? + } + $class = get_class($element); + if (!$success) { + $this->fail("{$this->configName}:$key has the wrong schema. Variable type is $type and schema class is $class."); + } + //else { + // $this->pass("{$this->configName}:$key has the correct schema. Variable type is $type and schema class is $class."); + //} + + } + catch (SchemaIncompleteException $e) { + $this->fail("{$this->configName}:$key has no schema."); + } + } + else { + // Any non-scalar value must be an array. + if (!is_array($value)) { + $value = (array) $value; + } + // Recurse into any nested keys. + foreach ($value as $nested_value_key => $nested_value) { + $value[$nested_value_key] = $this->checkValue($key . '.' . $nested_value_key, $nested_value); + } + } + return $value; + } + + protected function fail($message = NULL, $group = 'Other') { + $this->configPass = FALSE; + return parent::fail($message, $group); + } + +} diff --git a/core/modules/config/tests/config_integration_test/config/schema/config_integration_test.schema.yml b/core/modules/config/tests/config_integration_test/config/schema/config_integration_test.schema.yml new file mode 100644 index 0000000..5010f01 --- /dev/null +++ b/core/modules/config/tests/config_integration_test/config/schema/config_integration_test.schema.yml @@ -0,0 +1,9 @@ +# Schema for the configuration files of the Configuration Integration Test module. + +config_integration_test.settings: + type: mapping + label: 'Configuration integration test settings' + mapping: + foo: + type: string + label: 'Foo' 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/config/tests/config_test/config/schema/config_test.schema.yml b/core/modules/config/tests/config_test/config/schema/config_test.schema.yml index 597e9f7..98f3050 100644 --- a/core/modules/config/tests/config_test/config/schema/config_test.schema.yml +++ b/core/modules/config/tests/config_test/config/schema/config_test.schema.yml @@ -1,74 +1,81 @@ +# Schema for the configuration files of the Configuration Test module. + config_test.someschema: type: mapping - label: "Schema test data" + label: 'Schema test data' mapping: - "testitem": - label: "Test item" - "testlist": - label: "Test list" + testitem: + type: string + label: 'Test item' + testlist: + type: sequence + label: 'Test list' + sequence: + - type: string + label: 'Test' config_test.someschema.with_parents: - label: "Schema test data with parenting" + label: 'Schema test data with parenting' type: mapping mapping: one_level: - label: "Parenting one level up" + label: 'Parenting one level up' type: mapping mapping: target_key: - label: "Key used in parent relation" + label: 'Key used in parent relation' type: string testitem: type: config_test.someschema.with_parents.[%parent.target_key] two_levels: - label: "Parenting two levels up" + label: 'Parenting two levels up' type: mapping mapping: target_key: - label: "Key used in parent relation" + label: 'Key used in parent relation' type: string wrapper: - label: "Wrapper" + label: 'Wrapper' type: mapping mapping: testitem: type: config_test.someschema.with_parents.[%parent.%parent.target_key] three_levels: - label: "Parenting three levels up" + label: 'Parenting three levels up' type: mapping mapping: target_key: - label: "Key used in parent relation" + label: 'Key used in parent relation' type: string wrapper_1: - label: "Wrapper 1" + label: 'Wrapper 1' type: mapping mapping: wrapper_2: - label: "Wrapper 2" + label: 'Wrapper 2' type: mapping mapping: testitem: type: config_test.someschema.with_parents.[%parent.%parent.%parent.target_key] config_test.someschema.with_parents.key_1: - label: "Test item nested one level" + label: 'Test item nested one level' type: string config_test.someschema.with_parents.key_2: - label: "Test item nested two levels" + label: 'Test item nested two levels' type: string config_test.someschema.with_parents.key_3: - label: "Test item nested three levels" + label: 'Test item nested three levels' type: string config_test.someschema.somemodule.*.*: type: mapping label: 'Schema multiple filesytem marker test' mapping: - id: + testid: type: string label: 'ID' - description: + testdescription: type: text label: 'Description' @@ -131,3 +138,96 @@ config_test.schema_data_types: type: sequence sequence: - type: boolean + +config_test_dynamic: + type: mapping + mapping: + id: + type: string + label: 'ID' + uuid: + type: string + label: 'UUID' + label: + type: label + label: 'Label' + weight: + type: integer + label: 'Weight' + style: + type: string + label: 'style' + status: + type: boolean + label: 'Status' + langcode: + type: string + label: 'Default language' + protected_property: + type: string + label: 'Protected property' + +config_test.dynamic.*: + type: config_test_dynamic + label: 'Config test dynamic settings' + +config_test.dynamic.*.*: + type: config_test_dynamic + label: 'Config test dynamic settings' + +config_test.types: + type: mapping + label: 'Configuration type' + mapping: + array: + type: sequence + label: 'Array' + sequence: + - type: string + label: 'Item' + boolean: + type: boolean + label: 'Boolean' + float: + type: float + label: 'Float' + exp: + type: float + label: 'Exponential' + hex: + type: integer + label: 'Hexadecimal' + int: + type: integer + label: 'Integer' + octal: + type: integer + label: 'Octal' + string: + type: string + label: 'String' + string_int: + type: string + label: 'String integer' + +config_test.no_status.default: + type: mapping + label: 'Configuration no status default' + mapping: + id: + type: string + label: 'ID' + label: + type: label + label: 'Label' + +config_test.system: + type: mapping + label: 'Configuration system' + mapping: + foo: + type: string + label: 'Foo' + '404': + type: string + label: '404' diff --git a/core/modules/config/tests/config_test_invalid_name/config/schema/config_test_invalid_name.schema.yml b/core/modules/config/tests/config_test_invalid_name/config/schema/config_test_invalid_name.schema.yml new file mode 100644 index 0000000..1f541b1 --- /dev/null +++ b/core/modules/config/tests/config_test_invalid_name/config/schema/config_test_invalid_name.schema.yml @@ -0,0 +1,9 @@ +# Schema for the configuration files of the Invalid Configuration Name module. + +invalid_object_name: + type: mapping + label: 'Invalid configuration' + mapping: + frittata: + type: string + label: 'String' diff --git a/core/modules/contact/tests/modules/contact_test_views/test_views/views.view.test_contact_link.yml b/core/modules/contact/tests/modules/contact_test_views/test_views/views.view.test_contact_link.yml index b516661..1771823 100644 --- a/core/modules/contact/tests/modules/contact_test_views/test_views/views.view.test_contact_link.yml +++ b/core/modules/contact/tests/modules/contact_test_views/test_views/views.view.test_contact_link.yml @@ -44,7 +44,7 @@ display: 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: false diff --git a/core/modules/content_translation/config/schema/content_translation.views.schema.yml b/core/modules/content_translation/config/schema/content_translation.views.schema.yml new file mode 100644 index 0000000..c60e4a4 --- /dev/null +++ b/core/modules/content_translation/config/schema/content_translation.views.schema.yml @@ -0,0 +1,9 @@ +# Schema for the views plugins of the Views module. + +views.field.content_translation_link: + type: views_field + label: 'Content translation link' + mapping: + text: + type: label + label: 'Text to display' diff --git a/core/modules/content_translation/tests/modules/content_translation_test_views/test_views/views.view.test_entity_translations_link.yml b/core/modules/content_translation/tests/modules/content_translation_test_views/test_views/views.view.test_entity_translations_link.yml index 3d680e0..ddfb97d 100644 --- a/core/modules/content_translation/tests/modules/content_translation_test_views/test_views/views.view.test_entity_translations_link.yml +++ b/core/modules/content_translation/tests/modules/content_translation_test_views/test_views/views.view.test_entity_translations_link.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: none @@ -96,7 +96,7 @@ display: display_plugin: page id: page_1 display_title: Page - position: '' + position: null display_options: path: test-entity-translations-link label: People 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/dblog/tests/modules/dblog_test_views/test_views/views.view.test_dblog.yml b/core/modules/dblog/tests/modules/dblog_test_views/test_views/views.view.test_dblog.yml index e05c0ef..94c0497 100644 --- a/core/modules/dblog/tests/modules/dblog_test_views/test_views/views.view.test_dblog.yml +++ b/core/modules/dblog/tests/modules/dblog_test_views/test_views/views.view.test_dblog.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: none @@ -52,7 +52,7 @@ display: display_plugin: page id: page_1 display_title: Page - position: '' + position: null display_options: path: test-dblog label: test_dblog 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..5f483b5 100644 --- a/core/modules/entity/config/schema/entity.schema.yml +++ b/core/modules/entity/config/schema/entity.schema.yml @@ -51,3 +51,90 @@ 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] + hidden: + type: sequence + label: 'Field display setting' + sequence: + - type: boolean + label: 'Value' + +# 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' + weight: + type: integer + label: 'Weight' + +entity_form_display.field.*: + type: mapping + label: 'Entity form display default' + mapping: + visible: + type: boolean + label: 'Visibility' + weight: + type: integer + label: 'Weight' 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/entity_reference/config/schema/entity_reference.views.schema.yml b/core/modules/entity_reference/config/schema/entity_reference.views.schema.yml new file mode 100644 index 0000000..f92af7b --- /dev/null +++ b/core/modules/entity_reference/config/schema/entity_reference.views.schema.yml @@ -0,0 +1,20 @@ +# Schema for the views plugins of the Entity Reference module. + +views.display.entity_reference: + type: views_display + label: 'Entity Reference' + +views.row.entity_reference: + type: views.row.fields + label: 'Entity Reference inline fields' + +views.style.entity_reference: + type: views_style + label: 'Entity Reference list' + mapping: + search_fields: + type: sequence + label: 'Search fields' + sequence: + - type: string + label: 'Search field' diff --git a/core/modules/entity_reference/tests/modules/entity_reference_test/config/views.view.test_entity_reference.yml b/core/modules/entity_reference/tests/modules/entity_reference_test/config/views.view.test_entity_reference.yml index 82c39d1..1e5c2d9 100644 --- a/core/modules/entity_reference/tests/modules/entity_reference_test/config/views.view.test_entity_reference.yml +++ b/core/modules/entity_reference/tests/modules/entity_reference_test/config/views.view.test_entity_reference.yml @@ -1,18 +1,14 @@ base_field: nid base_table: node core: 8.x -module: entity_reference_test -id: test_entity_reference description: '' -label: 'Entity reference' -tag: '' status: true display: default: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -33,19 +29,52 @@ display: id: title table: node_field_data field: title + relationship: none + group_type: group + admin_label: '' label: '' + exclude: false alter: alter_text: false + text: '' make_link: false + path: '' absolute: false - trim: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: '' word_boundary: false ellipsis: false + more_link: false + more_link_text: '' + more_link_path: '' strip_tags: false + trim: false + preserve_tags: '' html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' hide_empty: false empty_zero: false + hide_alter_empty: true link_to_node: true + plugin_id: node provider: node filters: status: @@ -54,8 +83,9 @@ display: field: status id: status expose: - operator: 0 - group: true + operator: '' + group: 1 + plugin_id: boolean provider: views sorts: created: @@ -63,12 +93,13 @@ display: table: node_field_data field: created order: DESC + plugin_id: date provider: views entity_reference_1: display_plugin: entity_reference id: entity_reference_1 display_title: EntityReference - position: '' + position: null display_options: style: type: entity_reference @@ -80,3 +111,9 @@ display: type: none options: offset: 0 +label: 'Entity reference' +module: entity_reference_test +id: test_entity_reference +tag: '' +uuid: d82ab7cf-088c-485a-9d00-c77876e2fa76 +langcode: en diff --git a/core/modules/field/config/schema/field.schema.yml b/core/modules/field/config/schema/field.schema.yml index 33b8d3e..42db948 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,37 @@ field.instance.*.*.*: field_type: type: string label: 'Field type' + entity_type: + type: string + label: 'Entity type' + widget: + type: mapping + label: 'Field instance' + mapping: + weight: + type: integer + label: 'Weight' + type: + type: string + label: 'Type' + module: + type: string + label: 'Module' + settings: + type: mapping + label: 'Settings' + mapping: + size: + type: integer + label: 'Size' + +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/field/tests/modules/field_test_views/test_views/views.view.test_view_fieldapi.yml b/core/modules/field/tests/modules/field_test_views/test_views/views.view.test_view_fieldapi.yml index b370ab1..275aefb 100644 --- a/core/modules/field/tests/modules/field_test_views/test_views/views.view.test_view_fieldapi.yml +++ b/core/modules/field/tests/modules/field_test_views/test_views/views.view.test_view_fieldapi.yml @@ -35,7 +35,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: test_view_fieldapi id: test_view_fieldapi tag: default diff --git a/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php b/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php index 2719758..7eb9c07 100644 --- a/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php +++ b/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php @@ -402,7 +402,7 @@ function testLockedField() { 'bundle' => $this->type, ))->save(); entity_get_form_display('node', $this->type, 'default') - ->setComponent($field->id, array( + ->setComponent($field->name, array( 'type' => 'test_field_widget', )) ->save(); diff --git a/core/modules/file/config/schema/file.schema.yml b/core/modules/file/config/schema/file.schema.yml index 2c09484..fa34c7e 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' + mapping: + progress_indicator: + type: string + label: 'Progress indicator' diff --git a/core/modules/file/config/schema/file.views.schema.yml b/core/modules/file/config/schema/file.views.schema.yml new file mode 100644 index 0000000..2f63384 --- /dev/null +++ b/core/modules/file/config/schema/file.views.schema.yml @@ -0,0 +1,46 @@ +# Schema for the views plugins of the File module. + + +views.argument.file_fid: + type: views.argument.numeric + label: 'File ID' + +views.field.file_extension: + type: views_field + label: 'File extension' + mapping: + extension_detect_tar: + type: boolean + label: 'Detect if tar is part of the extension' + +views.field.file: + type: views_field + label: 'File' + mapping: + link_to_file: + type: boolean + label: 'Link this field to download the file' + +views.field.file_filemime: + type: views.field.file + label: 'File MIME' + mapping: + filemime_image: + type: boolean + label: 'Display an icon representing the file type, instead of the MIME text (such as "image/jpeg")' + +views.field.file_status: + type: views_field + label: 'File status' + +views.field.file_uri: + type: views.field.file + label: 'File URI' + mapping: + file_download_path: + type: boolean + label: 'Display download path instead of file storage URI' + +views.filter.file_status: + type: views.filter.in_operator + label: 'File status' diff --git a/core/modules/file/config/views.view.files.yml b/core/modules/file/config/views.view.files.yml index 8aaae34..e192361 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 @@ -131,7 +131,7 @@ display: separator: '' empty_column: false responsive: priority-medium - default: changed + default: 'changed' empty_table: true row: type: fields @@ -151,7 +151,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: '' @@ -167,6 +167,7 @@ display: element_default_classes: true empty: '' hide_alter_empty: true + plugin_id: file filename: id: filename table: file_managed @@ -182,7 +183,7 @@ display: html: false hide_empty: false empty_zero: false - link_to_file: '1' + link_to_file: true relationship: none group_type: group admin_label: '' @@ -198,6 +199,7 @@ display: element_default_classes: true empty: '' hide_alter_empty: true + plugin_id: file filemime: id: filemime table: file_managed @@ -246,8 +248,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 @@ -520,7 +522,7 @@ display: admin_label: '' operator: word value: '' - group: '1' + group: 1 exposed: true expose: operator_id: filemime_op @@ -544,7 +546,7 @@ display: optional: true widget: select multiple: false - remember: 0 + remember: false default_group: All default_group_multiple: { } group_items: { } @@ -558,7 +560,7 @@ display: admin_label: '' operator: word value: '' - group: '1' + group: 1 exposed: true expose: operator_id: filemime_op @@ -582,7 +584,7 @@ display: optional: true widget: select multiple: false - remember: 0 + remember: false default_group: All default_group_multiple: { } group_items: { } @@ -596,7 +598,7 @@ display: admin_label: '' operator: in value: { } - group: '1' + group: 1 exposed: true expose: operator_id: status_op @@ -612,7 +614,7 @@ display: authenticated: authenticated anonymous: '0' administrator: '0' - reduce: '0' + reduce: false is_grouped: false group_info: label: '' @@ -621,7 +623,7 @@ display: optional: true widget: select multiple: false - remember: 0 + remember: false default_group: All default_group_multiple: { } group_items: { } @@ -648,8 +650,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 @@ -663,7 +665,7 @@ display: description: '' name: admin weight: 0 - context: '0' + context: '' display_description: '' defaults: pager: true @@ -688,7 +690,7 @@ display: path: admin/content/files/usage/% empty: { } defaults: - empty: '0' + empty: false pager: false pager_options: false filters: false @@ -711,14 +713,14 @@ 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 items_per_page_options_all_label: '- All -' offset: false offset_label: Offset - pager_options: '' + pager_options: false filters: { } filter_groups: operator: AND @@ -772,7 +774,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: @@ -934,7 +936,7 @@ display: suffix: '' plugin_id: numeric provider: views - group_by: '0' + group_by: false title: 'File usage' arguments: fid: @@ -951,8 +953,6 @@ display: title: All title_enable: true title: 'File usage information for %1' - breadcrumb_enable: false - breadcrumb: '' default_argument_type: fixed default_argument_options: argument: '' @@ -972,7 +972,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/file/tests/modules/file_test_views/test_views/views.view.file_extension_view.yml b/core/modules/file/tests/modules/file_test_views/test_views/views.view.file_extension_view.yml index 02cc72c..fe65a09 100644 --- a/core/modules/file/tests/modules/file_test_views/test_views/views.view.file_extension_view.yml +++ b/core/modules/file/tests/modules/file_test_views/test_views/views.view.file_extension_view.yml @@ -49,7 +49,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: 'Test view for file extension views field handler' id: file_extension_view tag: '' 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/forum/config/entity.display.taxonomy_term.forums.default.yml b/core/modules/forum/config/entity.display.taxonomy_term.forums.default.yml index ca4f340..7214333 100644 --- a/core/modules/forum/config/entity.display.taxonomy_term.forums.default.yml +++ b/core/modules/forum/config/entity.display.taxonomy_term.forums.default.yml @@ -7,3 +7,5 @@ status: true content: description: weight: 0 +hidden: { } +status: true diff --git a/core/modules/forum/tests/modules/forum_test_views/test_views/views.view.test_forum_index.yml b/core/modules/forum/tests/modules/forum_test_views/test_views/views.view.test_forum_index.yml index db09537..4edfdff 100644 --- a/core/modules/forum/tests/modules/forum_test_views/test_views/views.view.test_forum_index.yml +++ b/core/modules/forum/tests/modules/forum_test_views/test_views/views.view.test_forum_index.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: none @@ -137,7 +137,7 @@ display: decimal: . separator: ',' format_plural: false - format_plural_singular: true + format_plural_singular: '1' format_plural_plural: '@count' prefix: '' suffix: '' diff --git a/core/modules/history/config/schema/history.views.schema.yml b/core/modules/history/config/schema/history.views.schema.yml new file mode 100644 index 0000000..8562d98 --- /dev/null +++ b/core/modules/history/config/schema/history.views.schema.yml @@ -0,0 +1,13 @@ +# Schema for the views plugins of the History module. + +views.field.history_user_timestamp: + type: views.field.node + label: 'History user' + mapping: + comments: + type: boolean + label: 'Check for new comments as well' + +views.filter.history_user_timestamp: + type: views_filter + label: 'History user' 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/language/config/schema/language.views.schema.yml b/core/modules/language/config/schema/language.views.schema.yml new file mode 100644 index 0000000..2dce3d2 --- /dev/null +++ b/core/modules/language/config/schema/language.views.schema.yml @@ -0,0 +1,13 @@ +# Schema for the views plugins of the Language module. + +views.argument.language: + type: views_argument + label: 'Language' + +views.field.language: + type: views_field + label: 'Language' + +views.filter.language: + type: views.filter.in_operator + label: 'Language' 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..66bf8fa --- /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: string + label: 'Add rel="nofollow" to links' + target: + type: string + 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: string + label: 'Add rel="nofollow" to links' + target: + type: string + 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..72b89e1 100644 --- a/core/modules/locale/config/schema/locale.schema.yml +++ b/core/modules/locale/config/schema/locale.schema.yml @@ -42,3 +42,6 @@ locale.settings: path: type: string label: 'Interface translations directory' + import_enabled: + type: boolean + label: 'Import enabled' 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..c944eb9 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' +label: 'Full content' +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 506049b..07c69f2 100644 --- a/core/modules/node/config/schema/node.schema.yml +++ b/core/modules/node/config/schema/node.schema.yml @@ -87,3 +87,50 @@ search.plugin.node_search: sequence: - type: integer label: 'Influence' + +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/schema/node.views.schema.yml b/core/modules/node/config/schema/node.views.schema.yml new file mode 100644 index 0000000..52c9ad1 --- /dev/null +++ b/core/modules/node/config/schema/node.views.schema.yml @@ -0,0 +1,258 @@ +# Schema for the views plugins of the Node module. + +"views.row.entity:node": + type: views_entity_row + label: 'Entity options' + mapping: + links: + type: boolean + label: 'Display links' + comments: + type: boolean + label: 'Show comments' + build_mode: + type: string + label: 'Build mode' + +views.area.node_listing_empty: + type: views_area + label: 'Node link' + +views.argument.node_nid: + type: views_argument + label: 'Node ID' + mapping: + break_phrase: + type: boolean + label: 'Allow multiple values' + not: + type: boolean + label: 'Exclude' + +views.argument.node_type: + type: views_argument + label: 'Node type' + mapping: + glossary: + type: boolean + label: 'Glossary mode' + limit: + type: integer + label: 'Character limit' + case: + type: string + label: 'Case' + path_case: + type: string + label: 'Case in path' + transform_dash: + type: boolean + label: 'Transform spaces to dashes in URL' + break_phrase: + type: boolean + label: 'Allow multiple values' + add_table: + type: boolean + label: 'Allow multiple filter values to work together' + require_value: + type: boolean + label: 'Do not display items with no value in summary' + +views.argument.node_uid_revision: + type: views_argument + label: 'Node user ID' + mapping: + break_phrase: + type: boolean + label: 'Allow multiple values' + not: + type: boolean + label: 'Exclude' + +views.argument.node_vid: + type: views_argument + label: 'Node revision ID' + mapping: + break_phrase: + type: boolean + label: 'Allow multiple values' + not: + type: boolean + label: 'Exclude' + +views.argument_default.node: + type: sequence + label: 'Content ID from URL' + sequence: + - type: string + label: 'Nid' + +views.argument_validator.node: + type: mapping + label: 'Content' + mapping: + types: + type: sequence + label: 'Content types' + sequence: + - type: string + label: 'Type' + access: + type: boolean + label: 'Validate user has access to the content' + access_op: + type: boolean + label: 'Access operation to check' + nid_type: + type: string + label: 'Filter value format' + +views.field.node_language: + type: views_field + label: 'Node language' + mapping: + link_to_node: + type: boolean + label: 'Link this field to the original piece of content' + +views.field.node: + type: views_field + label: 'Node' + mapping: + link_to_node: + type: boolean + label: 'Link this field to the original piece of content' + +views.field.node_link: + type: views_field + label: 'Node link' + mapping: + text: + type: label + label: 'Text to display' + +views.field.node_link_delete: + type: views_field + label: 'Node delete link' + mapping: + text: + type: label + label: 'Text to display' + +views.field.node_link_edit: + type: views_field + label: 'Node edit link' + mapping: + text: + type: label + label: 'Text to display' + +views.field.node_bulk_form: + type: views_field + label: 'Node bulk form' + mapping: + include_exclude: + type: string + label: 'Available actions' + selected_actions: + type: sequence + label: 'Available actions' + sequence: + - type: string + label: 'Action' + +views.field.node_path: + type: views_field + label: 'Node path' + mapping: + absolute: + type: boolean + label: 'Use absolute link (begins with "http://")' + +views.field.node_revision: + type: views_field + label: 'Node revision' + mapping: + link_to_node_revision: + type: boolean + label: 'Link this field to its content revision' + +views.field.node_revision_link: + type: views_field + label: 'Link to a node revision' + mapping: + text: + type: label + label: 'Text to display' + +views.field.node_revision_link_delete: + type: views_field + label: 'Link to delete a node revision' + mapping: + text: + type: label + label: 'Text to display' + +views.field.node_revision_link_revert: + type: views_field + label: 'Link to revert a node to a revision' + mapping: + text: + type: label + label: 'Text to display' + +views.field.node_type: + type: views.field.node + label: 'Node type' + mapping: + machine_name: + type: string + label: 'Output machine name' + +views.filter.node_access: + type: views_filter + label: 'Node access' + +views.filter.node_status: + type: views_filter + label: 'Node status' + +views.filter.node_uid_revision: + type: views_filter + label: 'Node revisions of an user' + mapping: + operator: + type: string + label: 'Operator' + value: + type: sequence + label: 'Values' + sequence: + - type: string + label: 'Value' + expose: + type: mapping + label: 'Expose' + mapping: + reduce: + type: boolean + label: 'Reduce' + +views.filter_value.node_access: + type: string + label: 'Access' + +views.filter_value.node_status: + type: boolean + label: 'Status' + +views.row.node_rss: + type: "views.row.entity:node" + label: 'Content' + mapping: + item_length: + type: string + label: 'Display type' + links: + type: boolean + label: 'Display links' \ No newline at end of file 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 ed55d9e..c985545 100644 --- a/core/modules/node/config/views.view.content.yml +++ b/core/modules/node/config/views.view.content.yml @@ -163,7 +163,7 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - link_to_node: '1' + link_to_node: true plugin_id: node provider: node type: @@ -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: '' 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: '' 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: @@ -350,10 +350,10 @@ display: table: node_field_data field: status_extra operator: '=' - value: '' + value: false plugin_id: node_status provider: node - group: '1' + group: 1 status: id: status table: node_field_data @@ -362,8 +362,8 @@ display: group_type: group admin_label: '' operator: '=' - value: All - group: '1' + value: true + group: 1 exposed: true expose: operator_id: '' @@ -385,7 +385,7 @@ display: optional: true widget: select multiple: false - remember: 0 + remember: false default_group: All default_group_multiple: { } group_items: @@ -408,7 +408,7 @@ display: admin_label: '' operator: in value: { } - group: '1' + group: 1 exposed: true expose: operator_id: type_op @@ -433,7 +433,7 @@ display: optional: true widget: select multiple: false - remember: 0 + remember: false default_group: All default_group_multiple: { } group_items: { } @@ -448,7 +448,7 @@ display: admin_label: '' operator: contains value: '' - group: '1' + group: 1 exposed: true expose: operator_id: title_op @@ -472,7 +472,7 @@ display: optional: true widget: select multiple: false - remember: 0 + remember: false default_group: All default_group_multiple: { } group_items: { } @@ -484,7 +484,7 @@ display: field: langcode operator: in value: { } - group: '1' + group: 1 exposed: true expose: operator_id: langcode_op @@ -493,7 +493,7 @@ display: identifier: langcode remember_roles: authenticated: authenticated - optional: '1' + optional: true plugin_id: language provider: language sorts: { } @@ -517,7 +517,7 @@ display: required: true plugin_id: standard provider: views - show_admin_links: '0' + show_admin_links: false filter_groups: operator: AND groups: @@ -535,7 +535,7 @@ display: description: '' name: admin weight: -10 - context: '0' + context: '' tab_options: type: normal title: Content diff --git a/core/modules/node/config/views.view.content_recent.yml b/core/modules/node/config/views.view.content_recent.yml index c96c760..26be0d7 100644 --- a/core/modules/node/config/views.view.content_recent.yml +++ b/core/modules/node/config/views.view.content_recent.yml @@ -2,21 +2,13 @@ base_field: nid base_table: node core: 8.x description: 'Recent content.' -status: 1 +status: true display: - block_1: - display_plugin: block - id: block_1 - display_title: Block - position: '1' - block_category: 'Lists (Views)' - display_options: - link_url: admin/content default: display_plugin: default id: default display_title: Master - position: '1' + position: 1 display_options: access: type: perm @@ -28,35 +20,35 @@ display: query: type: views_query options: - disable_sql_rewrite: '0' - distinct: '0' - slave: '0' - query_comment: '' + disable_sql_rewrite: false + distinct: false + slave: false + query_comment: false 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: some options: - items_per_page: '10' - offset: '0' + items_per_page: 10 + offset: 0 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: true + sticky: false caption: '' summary: '' description: '' @@ -68,42 +60,42 @@ display: delete_node: delete_node info: title: - sortable: '0' + sortable: false default_sort_order: asc align: '' separator: '' - empty_column: '0' + empty_column: false responsive: '' timestamp: - sortable: '0' + sortable: false default_sort_order: asc align: '' separator: '' - empty_column: '0' + empty_column: false responsive: '' name: - sortable: '0' + sortable: false default_sort_order: asc align: '' separator: '' - empty_column: '0' + empty_column: false responsive: '' edit_node: - sortable: '0' + sortable: false default_sort_order: asc align: '' separator: '' - empty_column: '1' + empty_column: true responsive: '' delete_node: - sortable: '0' + sortable: false default_sort_order: asc align: '' separator: '' - empty_column: '1' + empty_column: true responsive: '' default: '-1' - empty_table: '0' + empty_table: false row: type: fields fields: @@ -115,47 +107,48 @@ display: group_type: group admin_label: '' label: '' - 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: '0' + element_label_colon: false 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 + plugin_id: node provider: node timestamp: id: timestamp @@ -165,48 +158,48 @@ display: group_type: group admin_label: '' label: '' - 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: '0' + element_label_colon: false 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: '0' - comments: '0' + hide_empty: false + empty_zero: false + hide_alter_empty: true + link_to_node: false + comments: false plugin_id: history_user_timestamp provider: history name: @@ -217,50 +210,50 @@ display: group_type: group admin_label: '' label: '' - 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: div element_class: '' element_label_type: '' element_label_class: '' - element_label_colon: '0' + element_label_colon: false 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_user: '1' - overwrite_anonymous: '0' + hide_empty: false + empty_zero: false + hide_alter_empty: true + link_to_user: true + overwrite_anonymous: false anonymous_text: '' - format_username: '1' + format_username: true plugin_id: user_name provider: user edit_node: @@ -271,46 +264,46 @@ display: group_type: group admin_label: '' label: '' - 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: '0' + element_label_colon: false 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 text: edit plugin_id: node_link_edit provider: node @@ -322,46 +315,46 @@ display: group_type: group admin_label: '' label: '' - 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: '0' + element_label_colon: false 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 text: delete plugin_id: node_link_delete provider: node @@ -374,30 +367,30 @@ display: group_type: group admin_label: '' operator: '=' - value: '' - group: '1' - exposed: '0' + value: false + group: 1 + exposed: false expose: 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 - is_grouped: '0' + 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: { } @@ -412,7 +405,7 @@ display: group_type: group admin_label: '' order: DESC - exposed: '0' + exposed: false expose: label: '' granularity: second @@ -429,8 +422,8 @@ display: relationship: none group_type: group admin_label: '' - empty: '1' - tokenize: '0' + empty: true + tokenize: false content: 'No content available.' plugin_id: text_custom provider: views @@ -442,17 +435,25 @@ display: relationship: none group_type: group admin_label: author - required: '1' + required: true plugin_id: standard provider: views arguments: { } filter_groups: operator: AND groups: { } - use_more: '1' - use_more_always: '1' + use_more: true + use_more_always: true use_more_text: More link_display: custom_url + block_1: + display_plugin: block + id: block_1 + display_title: Block + position: 1 + display_options: + link_url: admin/content + block_category: 'Lists (Views)' label: 'Recent content' module: views id: content_recent diff --git a/core/modules/node/config/views.view.frontpage.yml b/core/modules/node/config/views.view.frontpage.yml index 1a7afa5..a7526a1 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: '' 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: true plugin_id: boolean provider: views status: expose: - operator: '0' + operator: '' field: status - group: '1' + group: 1 id: status table: node_field_data - value: '1' + value: true 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 @@ -128,7 +128,7 @@ display: next: 'next ›' first: '« first' last: 'last »' - quantity: '9' + quantity: 9 query: type: views_query options: @@ -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: '' 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/node/tests/modules/node_test_views/test_views/views.view.test_contextual_links.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_contextual_links.yml index 7d807a8..588d0cc 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_contextual_links.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_contextual_links.yml @@ -16,47 +16,47 @@ display: 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_label: '- All -' - offset: '0' + offset: false offset_label: Offset tags: previous: '‹ previous' next: 'next ›' first: '« first' last: 'last »' - quantity: '9' + quantity: 9 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: { } row: type: 'entity:node' options: build_mode: teaser - comments: '0' - links: '1' + comments: false + links: true view_mode: teaser 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: pager: + uses_fields: false title: '' header: { } footer: { } @@ -66,7 +66,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: node/%/contextual-links @@ -85,12 +85,12 @@ display: title: 'Test contextual link' description: '' name: tools - weight: '0' - context: '1' + weight: 0 + context: true display_plugin: page display_title: Page id: page_1 - position: '1' + position: 1 label: Contextual links module: node id: test_contextual_links diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_field_type.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_field_type.yml index 6113c52..a60b7b3 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_field_type.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_field_type.yml @@ -15,7 +15,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_field_type tag: '' diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_filter_node_uid_revision.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_filter_node_uid_revision.yml index 2d81672..76f3bd9 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_filter_node_uid_revision.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_filter_node_uid_revision.yml @@ -55,7 +55,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: test_filter_node_uid_revision id: test_filter_node_uid_revision tag: default diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_bulk_form.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_bulk_form.yml index e0748bc..fa63477 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_bulk_form.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_bulk_form.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: style: type: table @@ -39,7 +39,7 @@ display: display_plugin: page id: page_1 display_title: Page - position: '' + position: null display_options: path: test-node-bulk-form label: '' diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_nid.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_nid.yml index 24ca887..fae1b18 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_nid.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_nid.yml @@ -42,4 +42,4 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_vid.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_vid.yml index 581aa2b..7871029 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_vid.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_vid.yml @@ -42,4 +42,4 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_row_plugin.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_row_plugin.yml index e7bae25..84b9a57 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_row_plugin.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_row_plugin.yml @@ -2,7 +2,7 @@ base_field: nid base_table: node core: 8 description: '' -status: '1' +status: true display: default: display_options: @@ -15,25 +15,25 @@ display: filters: status: expose: - operator: '0' + operator: '' field: status - group: '1' + group: 1 id: status table: node - value: '1' + value: true plugin_id: boolean provider: views pager: options: - items_per_page: '10' + items_per_page: 10 type: full query: type: views_query row: options: build_mode: teaser - comments: '0' - links: '1' + comments: false + links: true type: 'entity:node' sorts: { } style: diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_view.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_view.yml index 9979d17..a3c1f80 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_view.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_view.yml @@ -8,14 +8,14 @@ display: display_plugin: page id: page_1 display_title: Page - position: '' + position: null display_options: path: test-node-view default: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -45,24 +45,24 @@ display: 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_label: '- All -' - offset: '0' + offset: false offset_label: Offset tags: previous: '‹ previous' next: 'next ›' first: '« first' last: 'last »' - quantity: '9' + quantity: 9 style: type: default row: @@ -76,58 +76,58 @@ display: group_type: group admin_label: '' label: Nid - 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' - link_to_node: '0' + hide_empty: false + empty_zero: false + hide_alter_empty: true + link_to_node: false plugin_id: node provider: node filters: status: - value: '1' + value: true table: node_field_data field: status id: status expose: - operator: '0' - group: '1' + operator: '' + group: 1 provider: views sorts: created: @@ -138,7 +138,7 @@ display: relationship: none group_type: group admin_label: '' - exposed: '0' + exposed: false expose: label: '' granularity: second @@ -159,34 +159,34 @@ display: default_action: 'not found' 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: true + items_per_page: 25 + override: false summary: sort_order: asc - number_of_records: '0' + number_of_records: false format: default_summary - specify_validation: '0' + specify_validation: false validate: type: none fail: 'not found' validate_options: { } - glossary: '0' - limit: '0' + glossary: false + limit: false case: none path_case: none - transform_dash: '0' - break_phrase: '0' + transform_dash: false + break_phrase: false plugin_id: node_type provider: node label: test_node_view diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_status_extra.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_status_extra.yml index 1944f59..ec77a6a 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_status_extra.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_status_extra.yml @@ -9,7 +9,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -34,47 +34,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: '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' - link_to_node: '0' + hide_empty: false + empty_zero: false + hide_alter_empty: true + link_to_node: false plugin_id: node provider: node filters: @@ -87,29 +87,29 @@ display: admin_label: '' operator: '=' value: '' - group: '1' - exposed: '0' + 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 - is_grouped: '0' + 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: { } @@ -133,8 +133,8 @@ display: display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 base_field: nid -status: '1' +status: true module: views langcode: und 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..98ec072 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 @@ -9,7 +9,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -39,12 +39,12 @@ display: display_plugin: rest_export id: rest_export_1 display_title: serializer - position: '' + position: null display_options: defaults: 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..33f6c94 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 @@ -9,7 +9,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -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 @@ -67,7 +67,7 @@ display: display_plugin: rest_export id: rest_export_1 display_title: serializer - position: '' + position: null display_options: defaults: access: false @@ -84,7 +84,7 @@ display: display_plugin: rest_export id: rest_export_2 display_title: 'serialize - access denied' - position: '' + position: null display_options: defaults: access: false @@ -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..aa44af0 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 @@ -9,7 +9,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -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' @@ -101,7 +101,7 @@ display: display_plugin: rest_export id: rest_export_1 display_title: serializer - position: '' + position: null display_options: defaults: access: false @@ -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/config/entity.view_mode.node.search_index.yml b/core/modules/search/config/entity.view_mode.node.search_index.yml index 90df0bd..f0b4251 100644 --- a/core/modules/search/config/entity.view_mode.node.search_index.yml +++ b/core/modules/search/config/entity.view_mode.node.search_index.yml @@ -1,6 +1,6 @@ id: node.search_index uuid: 17b34a6b-401f-421a-8100-f1879cbc565a -label: Search index +label: 'Search index' status: false cache: true targetEntityType: node diff --git a/core/modules/search/config/entity.view_mode.node.search_result.yml b/core/modules/search/config/entity.view_mode.node.search_result.yml index cfdc1ac..fe37d00 100644 --- a/core/modules/search/config/entity.view_mode.node.search_result.yml +++ b/core/modules/search/config/entity.view_mode.node.search_result.yml @@ -1,6 +1,6 @@ id: node.search_result uuid: 095d7357-de7d-4acc-953a-585cd106e89b -label: Search result +label: 'Search result' status: false cache: true targetEntityType: node 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 index 9a98361..de7226e 100644 --- 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 @@ -1,5 +1,13 @@ # Schema for the configuration files of the Search Extra Type module. +search_extra_type.settings: + type: mapping + label: 'Test search type settings' + mapping: + boost: + type: string + label: 'String' + # Plugin \Drupal\search_extra_type\Plugin\Search\SearchExtraTypeSearch search.plugin.search_extra_type_search: type: mapping 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/statistics/tests/modules/statistics_test_views/test_views/views.view.test_statistics_integration.yml b/core/modules/statistics/tests/modules/statistics_test_views/test_views/views.view.test_statistics_integration.yml index a35c77d..a666e27 100644 --- a/core/modules/statistics/tests/modules/statistics_test_views/test_views/views.view.test_statistics_integration.yml +++ b/core/modules/statistics/tests/modules/statistics_test_views/test_views/views.view.test_statistics_integration.yml @@ -9,7 +9,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -151,7 +151,7 @@ display: decimal: . separator: '' format_plural: false - format_plural_singular: true + format_plural_singular: '1' format_plural_plural: '@count' prefix: '' suffix: '' @@ -209,7 +209,7 @@ display: decimal: . separator: '' format_plural: false - format_plural_singular: true + format_plural_singular: '1' format_plural_plural: '@count' prefix: '' suffix: '' @@ -235,7 +235,7 @@ display: display_plugin: page id: page_1 display_title: Page - position: '' + position: null display_options: path: test_statistics_integration label: 'Test statistics integration' 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..10c90b1 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' +label: 'Taxonomy term page' +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/config/schema/taxonomy.views.schema.yml b/core/modules/taxonomy/config/schema/taxonomy.views.schema.yml new file mode 100644 index 0000000..1de5e1e --- /dev/null +++ b/core/modules/taxonomy/config/schema/taxonomy.views.schema.yml @@ -0,0 +1,198 @@ +# Schema for the views plugins of the Taxonomy module. + +views.argument.taxonomy_index_tid: + type: views_argument + label: 'Taxonomy term ID' + mapping: + break_phrase: + type: boolean + label: 'Allow multiple values' + add_table: + type: boolean + label: 'Allow multiple filter values to work together' + require_value: + type: boolean + label: 'Do not display items with no value in summary' + +views.argument.taxonomy_index_tid_depth: + type: views_argument + label: 'Taxonomy term ID' + mapping: + depth: + type: integer + label: 'Depth' + break_phrase: + type: boolean + label: 'Allow multiple values' + use_taxonomy_term_path: + type: boolean + label: 'Use taxonomy term path' + +views.argument.taxonomy_index_tid_depth_modifier: + type: views_argument + label: 'Taxonomy depth modifier' + +views.argument.taxonomy: + type: views_argument + label: 'Taxonomy' + mapping: + break_phrase: + type: boolean + label: 'Allow multiple values' + not: + type: boolean + label: 'Exclude' + +views.argument.vocabulary_vid: + type: views_argument + label: 'Vocabulary' + mapping: + break_phrase: + type: boolean + label: 'Allow multiple values' + not: + type: boolean + label: 'Exclude' + + +"views.argument_validator.entity:taxonomy_term": + type: views.argument_validator_entity + label: 'Taxonomy term' + +views.argument_validator.taxonomy_term_name: + type: views.argument_validator_entity + label: 'Taxonomy term' + mapping: + vids: + type: sequence + label: 'Vocabularies' + sequence: + - type: string + label: 'Vocabulary' + +views.argument_default.taxonomy_tid: + type: mapping + label: 'Taxonomy term ID from URL' + mapping: + term_page: + type: string + label: 'Load default filter from term page' + node: + type: boolean + label: 'Load default filter from node page, that''s good for related taxonomy blocks' + limit: + type: boolean + label: 'Limit terms by vocabulary' + vids: + type: sequence + label: 'Vocabularies' + sequence: + - type: string + label: 'Vocabulary' + +views.field.taxonomy_term_language: + type: views_field + label: 'Taxonomy language' + mapping: + link_to_taxonomy: + type: boolean + label: 'Link this field to its taxonomy term page' + convert_spaces: + type: boolean + label: 'Convert spaces in term names to hyphens' + +views.field.term_link_edit: + type: views_field + label: 'Taxonomy language' + mapping: + text: + type: label + label: 'Text to display' + +views.field.taxonomy: + type: views_field + label: 'Taxonomy language' + mapping: + link_to_taxonomy: + type: boolean + label: 'Link this field to its taxonomy term page' + convert_spaces: + type: boolean + label: 'Convert spaces in term names to hyphens' + + +views.field.taxonomy_index_tid: + type: views_field + label: 'Taxonomy language' + mapping: + type: + type: string + label: 'Display type' + separator: + type: string + label: 'Separator' + link_to_taxonomy: + type: boolean + label: 'Link this field to its term page' + limit: + type: boolean + label: 'Limit terms by vocabulary' + vids: + type: sequence + label: 'Vocabularies' + sequence: + - type: string + label: 'Vocabulary' + +views.filter.taxonomy_index_tid: + type: views.filter.in_operator + label: 'Taxonomy term ID' + mapping: + operator: + type: string + label: 'Operator' + value: + type: sequence + label: 'Values' + sequence: + - type: string + label: 'Value' + vid: + type: string + label: 'Vocabulary' + type: + type: string + label: 'Selection type' + hierarchy: + type: boolean + label: 'Show hierarchy in dropdown' + +views.filter.taxonomy_index_tid_depth: + type: views.filter.in_operator + label: 'Taxonomy term ID with depth' + mapping: + operator: + type: string + label: 'Operator' + value: + type: sequence + label: 'Values' + sequence: + - type: string + label: 'Value' + vid: + type: string + label: 'Vocabulary' + type: + type: string + label: 'Selection type' + hierarchy: + type: boolean + label: 'Show hierarchy in dropdown' + depth: + type: integer + label: 'Depth' + +views.relationship.node_term_data: + type: views_relationship + label: 'Taxonomy term' 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..0914a5f 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,13 +2,13 @@ base_field: nid base_table: node 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,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/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..1182ff5 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,13 +2,13 @@ base_field: nid base_table: node core: 8.x description: '' -status: '1' +status: true display: default: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -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/update.settings.yml b/core/modules/update/config/update.settings.yml index 0f32944..ded8c9d 100644 --- a/core/modules/update/config/update.settings.yml +++ b/core/modules/update/config/update.settings.yml @@ -7,4 +7,4 @@ fetch: timeout: 30 notification: emails: { } - threshold: '0' + threshold: all 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/entity.view_mode.user.full.yml b/core/modules/user/config/entity.view_mode.user.full.yml index 7110416..4f9e564 100644 --- a/core/modules/user/config/entity.view_mode.user.full.yml +++ b/core/modules/user/config/entity.view_mode.user.full.yml @@ -1,6 +1,6 @@ id: user.full uuid: 021fa7ab-8e19-4ab7-8c4e-b68edcfacb52 -label: User account +label: 'User account' status: false cache: true targetEntityType: user 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/schema/user.view.schema.yml b/core/modules/user/config/schema/user.view.schema.yml deleted file mode 100644 index 2429906..0000000 --- a/core/modules/user/config/schema/user.view.schema.yml +++ /dev/null @@ -1,34 +0,0 @@ -# Schema for the views plugins of the User module. - -views.argument_validator.user: - type: mapping - label: 'User' - mapping: - type: - type: string - label: 'Type of user filter value to allow' - restrict_roles: - type: boolean - label: 'Restrict user based on role' - roles: - type: sequence - label: 'Restrict to the selected roles' - sequence: - - type: string - label: 'Role' - -views.argument_default.user: - type: mapping - label: 'User ID from URL' - mapping: - user: - type: boolean - label: 'Also look for a node and use the node author' - -views.argument_default.current_user: - type: boolean - label: 'User ID from logged in user' - -views.argument_default.node: - type: boolean - label: 'Content ID from URL' diff --git a/core/modules/user/config/schema/user.views.schema.yml b/core/modules/user/config/schema/user.views.schema.yml new file mode 100644 index 0000000..88de8a8 --- /dev/null +++ b/core/modules/user/config/schema/user.views.schema.yml @@ -0,0 +1,146 @@ +# Schema for the views plugins of the User module. + +views.access.perm: + type: mapping + label: 'Permission' + mapping: + perm: + type: string + label: 'Permission' + +views.access.role: + type: sequence + label: 'Role' + sequence: + - type: string + label: 'Role' + +views.argument.user_uid: + type: views.argument.numeric + label: 'User ID' + +views.argument.users_roles_rid: + type: views.argument.many_to_one + label: 'Role ID' + +views.argument_validator.user: + type: mapping + label: 'User' + mapping: + type: + type: string + label: 'Type of user filter value to allow' + restrict_roles: + type: boolean + label: 'Restrict user based on role' + roles: + type: sequence + label: 'Restrict to the selected roles' + sequence: + - type: string + label: 'Role' + +views.argument_default.user: + type: mapping + label: 'User ID from URL' + mapping: + user: + type: boolean + label: 'Also look for a node and use the node author' + +views.argument_default.current_user: + type: boolean + label: 'User ID from logged in user' + +views.argument_default.node: + type: boolean + label: 'Content ID from URL' + +"views.row.entity:user": + type: views_entity_row + label: 'Entity options' + +views_field_user: + type: views_field + mapping: + link_to_user: + type: boolean + label: 'Link this field to its user' + +views.field.user_language: + type: views_field + label: 'User language' + mapping: + link_to_node: + type: boolean + label: 'Link this field to its user' + +views.field.user_language: + type: views_field_user + label: 'User language' + +views.field.user_link: + type: views_field + label: 'User link' + mapping: + text: + type: text + label: 'Text to display' + +views.field.user_link_cancel: + type: views.field.user_link + label: 'User cancel link' + +views.field.user_link_edit: + type: views.field.user_link + label: 'User edit link' + +views.field.user_mail: + type: views_field_user + label: 'User language' + +views.field.user_name: + type: views_field_user + label: 'User name' + mapping: + format_username: + type: boolean + label: 'Use formatted username' + overwrite_anonymous: + type: boolean + label: 'Overwrite the value to display for anonymous users' + anonymous_text: + type: label + label: 'Text to display for anonymous users' + +views.field.user_permissions: + type: views.field.prerender_list + label: 'List of permission' + +views.field.user_roles: + type: views.field.prerender_list + label: 'List of roles' + +views.field.user: + type: views_field_user + label: 'User' + +views.field.user_bulk_form: + type: views.field.bulk_form + label: 'User operations bulk form' + +views.filter.user_current: + type: views.filter.boolean + label: 'Current user' + +views.filter.user_name: + type: views.filter.in_operator + label: 'User name' + +views.filter.user_permissions: + type: views.filter.many_to_one + label: 'Permission' + +views.filter.user_roles: + type: views.filter.many_to_one + label: 'Role' diff --git a/core/modules/user/config/search.page.user_search.yml b/core/modules/user/config/search.page.user_search.yml index 4823ec4..b78c699 100644 --- a/core/modules/user/config/search.page.user_search.yml +++ b/core/modules/user/config/search.page.user_search.yml @@ -1,5 +1,5 @@ id: user_search -label: 'Users' +label: Users uuid: c0d6b9a7-09a7-415f-b71a-26957bef635c status: true langcode: en 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/modules/user/config/views.view.user_admin_people.yml b/core/modules/user/config/views.view.user_admin_people.yml index c2aab00..50506c6 100644 --- a/core/modules/user/config/views.view.user_admin_people.yml +++ b/core/modules/user/config/views.view.user_admin_people.yml @@ -47,14 +47,14 @@ display: first: '« first' last: 'last »' 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 items_per_page_options_all_label: '- All -' offset: false offset_label: Offset - quantity: '9' + quantity: 9 style: type: table options: @@ -236,10 +236,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: @@ -554,7 +554,6 @@ display: empty_zero: false hide_alter_empty: true text: Translate - optional: '1' plugin_id: content_translation_link provider: content_translation dropbutton: @@ -614,7 +613,7 @@ display: rid: '0' created: '0' access: '0' - destination: '1' + destination: true plugin_id: dropbutton mail: id: mail @@ -664,7 +663,7 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - link_to_user: '0' + link_to_user: false plugin_id: user_mail filters: combine: @@ -676,7 +675,7 @@ display: admin_label: '' operator: contains value: '' - group: '1' + group: 1 exposed: true expose: operator_id: combine_op @@ -700,7 +699,7 @@ display: optional: true widget: select multiple: false - remember: 0 + remember: false default_group: All default_group_multiple: { } group_items: { } @@ -717,7 +716,7 @@ display: admin_label: '' operator: or value: { } - group: '1' + group: 1 exposed: true expose: operator_id: rid_op @@ -733,7 +732,7 @@ display: authenticated: authenticated anonymous: '0' administrator: '0' - reduce: '0' + reduce: false is_grouped: false group_info: label: '' @@ -742,11 +741,11 @@ display: optional: true widget: select multiple: false - remember: 0 + remember: false default_group: All default_group_multiple: { } group_items: { } - reduce_duplicates: '0' + reduce_duplicates: false plugin_id: user_roles provider: user permission: @@ -758,7 +757,7 @@ display: admin_label: '' operator: or value: { } - group: '1' + group: 1 exposed: true expose: operator_id: permission_op @@ -774,7 +773,7 @@ display: authenticated: authenticated anonymous: '0' administrator: '0' - reduce: '0' + reduce: false is_grouped: false group_info: label: '' @@ -783,11 +782,11 @@ display: optional: true widget: select multiple: false - remember: 0 + remember: false default_group: All default_group_multiple: { } group_items: { } - reduce_duplicates: '0' + reduce_duplicates: false plugin_id: user_permissions provider: user status: @@ -798,8 +797,8 @@ display: group_type: group admin_label: '' operator: '=' - value: All - group: '1' + value: true + group: 1 exposed: true expose: operator_id: '' @@ -823,7 +822,7 @@ display: optional: true widget: select multiple: false - remember: 0 + remember: false default_group: All default_group_multiple: { } group_items: @@ -849,7 +848,7 @@ display: min: '' max: '' value: '0' - group: '1' + group: 1 exposed: false expose: operator_id: '0' @@ -871,7 +870,7 @@ display: optional: true widget: select multiple: false - remember: 0 + remember: false default_group: All default_group_multiple: { } group_items: { } @@ -906,14 +905,14 @@ display: content: 'No people available.' plugin_id: text_custom provider: views - use_more: '0' - use_more_always: '0' + use_more: false + use_more_always: false use_more_text: more display_comment: '' - use_ajax: '0' - hide_attachment_summary: '0' - show_admin_links: '1' - group_by: '0' + use_ajax: false + hide_attachment_summary: false + show_admin_links: true + group_by: false link_url: '' link_display: page_1 css_class: '' @@ -928,14 +927,14 @@ display: position: 1 display_options: path: admin/people/list - show_admin_links: '0' + show_admin_links: false menu: type: 'default tab' title: List description: 'Find and manage people interacting with your site.' name: admin weight: -10 - context: '0' + context: '' tab_options: type: normal title: People diff --git a/core/modules/user/config/views.view.who_s_new.yml b/core/modules/user/config/views.view.who_s_new.yml index 3ca47b3..e3f9e2b 100644 --- a/core/modules/user/config/views.view.who_s_new.yml +++ b/core/modules/user/config/views.view.who_s_new.yml @@ -2,54 +2,53 @@ base_field: uid base_table: users core: 8.x description: 'Shows a list of the newest user accounts on the site.' -status: '1' +status: true display: block_1: display_plugin: block id: block_1 display_title: 'Who''s new' - position: '1' + position: 1 display_options: display_description: 'A list of new users' block_description: 'Who''s new' - block_category: 'User' + block_category: User default: display_plugin: default id: default display_title: Master - position: '1' + position: 1 display_options: access: type: perm options: perm: 'access content' - perm: 'access user profiles' cache: type: none options: { } query: type: views_query options: - disable_sql_rewrite: '0' - distinct: '0' - slave: '0' - query_comment: '' + disable_sql_rewrite: false + distinct: false + slave: false + query_comment: false 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: some options: - items_per_page: '5' - offset: '0' + items_per_page: 5 + offset: 0 style: type: html_list row: @@ -60,44 +59,46 @@ display: table: users field: name label: '' + plugin_id: user_name 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_user: '1' - overwrite_anonymous: '0' + 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_user: true + overwrite_anonymous: false 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 anonymous_text: '' - format_username: '1' + format_username: true filters: status: - value: '1' + value: true table: users field: status id: status expose: operator: '0' - group: '1' + group: 1 + plugin_id: boolean access: id: access table: users @@ -111,29 +112,29 @@ display: max: '' value: '1970-01-01' type: date - group: '1' - exposed: '0' + group: 1 + exposed: false expose: 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 - is_grouped: '0' + 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: { } @@ -147,7 +148,7 @@ display: group_type: group admin_label: '' order: DESC - exposed: '0' + exposed: false expose: label: '' granularity: second @@ -161,6 +162,6 @@ display: label: 'Who''s new' module: views id: who_s_new -tag: 'default' +tag: default uuid: 8b2c05e3-046b-447f-922b-43a832220667 langcode: en diff --git a/core/modules/user/config/views.view.who_s_online.yml b/core/modules/user/config/views.view.who_s_online.yml index 898de16..8665ae0 100644 --- a/core/modules/user/config/views.view.who_s_online.yml +++ b/core/modules/user/config/views.view.who_s_online.yml @@ -2,13 +2,13 @@ base_field: uid base_table: users core: 8.x description: 'Shows the user names of the most recently active users, and the total number of active users.' -status: '1' +status: true display: default: display_plugin: default id: default display_title: Master - position: '1' + position: 1 display_options: access: type: perm @@ -20,33 +20,33 @@ display: query: type: views_query options: - disable_sql_rewrite: '0' - distinct: '0' - slave: '0' - query_comment: '' + disable_sql_rewrite: false + distinct: false + slave: false + query_comment: false 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: some options: - items_per_page: '10' - offset: '0' + items_per_page: 10 + offset: 0 style: type: html_list options: grouping: { } row_class: '' - default_row_class: '1' - row_class_special: '1' + default_row_class: true + row_class_special: true type: ul wrapper_class: item-list class: '' @@ -58,44 +58,46 @@ display: table: users field: name label: '' + plugin_id: user_name 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_user: '1' - overwrite_anonymous: '0' + 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_user: true + overwrite_anonymous: false 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 anonymous_text: '' - format_username: '1' + format_username: true filters: status: - value: '1' + value: true table: users field: status id: status expose: operator: '0' - group: '1' + group: 1 + plugin_id: boolean access: id: access table: users @@ -109,31 +111,31 @@ display: max: '' value: '-15 minutes' type: offset - group: '1' - exposed: '0' + group: 1 + exposed: false expose: operator_id: access_op label: 'Last access' description: 'A user is considered online for this long after they have last viewed a page.' - use_operator: '0' + use_operator: false operator: access_op identifier: access - required: '0' - remember: '0' - multiple: '0' + required: false + remember: false + multiple: false remember_roles: authenticated: authenticated anonymous: '0' administrator: '0' - is_grouped: '0' + 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: { } @@ -147,7 +149,7 @@ display: relationship: none group_type: group admin_label: '' - exposed: '0' + exposed: false expose: label: '' granularity: second @@ -162,7 +164,7 @@ display: relationship: none group_type: group admin_label: '' - empty: '0' + empty: false content: 'There are currently @total users online.' plugin_id: result footer: { } @@ -174,8 +176,8 @@ display: relationship: none group_type: group admin_label: '' - empty: '1' - tokenize: '0' + empty: true + tokenize: false content: 'There are currently 0 users online.' plugin_id: text_custom relationships: { } @@ -184,7 +186,7 @@ display: display_plugin: block id: who_s_online_block display_title: 'Who''s online' - position: '1' + position: 1 display_options: block_description: 'Who''s online' display_description: 'A list of users that are currently logged in.' diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_access_perm.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_access_perm.yml index bd1ed72..3505caa 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_access_perm.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_access_perm.yml @@ -22,7 +22,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_access_perm tag: '' diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_access_role.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_access_role.yml index f971f75..daa39d4 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_access_role.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_access_role.yml @@ -26,14 +26,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test-role display_plugin: page display_title: Page id: page_1 - position: '1' + position: 1 label: '' id: test_access_role tag: '' diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_field_permission.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_field_permission.yml index 94f587d..79ce551 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_field_permission.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_field_permission.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: none diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_filter_permission.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_filter_permission.yml index ef1fd1c..b16cb3e 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_filter_permission.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_filter_permission.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: none diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_plugin_argument_default_current_user.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_plugin_argument_default_current_user.yml index dede313..1a3362f 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_plugin_argument_default_current_user.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_plugin_argument_default_current_user.yml @@ -51,7 +51,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_plugin_argument_default_current_user tag: '' diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_bulk_form.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_bulk_form.yml index d6c7538..3327603 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_bulk_form.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_bulk_form.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: style: type: table @@ -48,7 +48,7 @@ display: display_plugin: page id: page_1 display_title: Page - position: '' + position: null display_options: path: test-user-bulk-form label: '' diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml index 725724d..f1a785c 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_name.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_name.yml index 0d2985c..b1efe81 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_name.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_name.yml @@ -41,14 +41,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_user_name display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 label: '' id: test_user_name tag: '' diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_relationship.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_relationship.yml index ff0c37b..56e1a0b 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_relationship.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_relationship.yml @@ -101,7 +101,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: test_user_relationship id: test_user_relationship tag: default diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_uid_argument.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_uid_argument.yml index 66f162e..388d154 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_uid_argument.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_uid_argument.yml @@ -24,6 +24,6 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: null id: test_user_uid_argument diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_view_argument_validate_user.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_view_argument_validate_user.yml index eb11808..c429718 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_view_argument_validate_user.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_view_argument_validate_user.yml @@ -32,7 +32,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_view_argument_validate_user tag: '' diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_views_handler_field_role.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_views_handler_field_role.yml index 3e333a9..c3b3258 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_views_handler_field_role.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_views_handler_field_role.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -151,7 +151,7 @@ display: display_plugin: page id: page_1 display_title: Page - position: '' + position: null display_options: path: test-views-handler-field-role label: test_views_handler_field_role diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_views_handler_field_user_name.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_views_handler_field_user_name.yml index c68cde3..8011988 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_views_handler_field_user_name.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_views_handler_field_user_name.yml @@ -45,7 +45,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: test_views_handler_field_user_name id: test_views_handler_field_user_name tag: default diff --git a/core/modules/views/config/schema/views.access.schema.yml b/core/modules/views/config/schema/views.access.schema.yml index 2dc6d90..c09edef 100644 --- a/core/modules/views/config/schema/views.access.schema.yml +++ b/core/modules/views/config/schema/views.access.schema.yml @@ -5,18 +5,3 @@ views.access.none: label: 'None' sequence: - type: string - -views.access.perm: - type: mapping - label: 'Permission' - mapping: - perm: - type: string - label: 'Permission' - -views.access.role: - type: sequence - label: 'Role' - sequence: - - type: string - label: 'Role' diff --git a/core/modules/views/config/schema/views.argument.schema.yml b/core/modules/views/config/schema/views.argument.schema.yml index 2d6729b..d3882e4 100644 --- a/core/modules/views/config/schema/views.argument.schema.yml +++ b/core/modules/views/config/schema/views.argument.schema.yml @@ -65,3 +65,81 @@ views.argument.string: require_value: type: boolean label: 'Do not display items with no value in summary' + + +views.argument.broken: + type: views_argument + label: 'Broken' + +views.argument.date: + type: views_argument + label: 'Date' + mapping: + date: + type: string + label: 'Date' + node_created: + type: string + label: 'Node Creation Time' + node_changed: + type: string + label: 'Node Update Time' + +views.argument.date_day: + type: views_argument + label: 'Day Date' + mapping: + day: + type: string + label: 'Day' + +views.argument.formula: + type: views_argument + label: 'Formula' + mapping: + placeholder: + type: string + label: 'Place Holder' + formula: + type: string + label: 'Formula Used' + +views.argument.date_fulldate: + type: views_argument + label: 'Full Date' + mapping: + created: + type: string + label: 'Full Date' + +views.argument.groupby_numeric: + type: views_argument + label: 'Group by Numeric' + +views.argument.date_month: + type: views_argument + label: 'Month Date' + mapping: + month: + type: string + label: 'Month' + +views.argument.standard: + type: views_argument + label: 'Standard' + +views.argument.date_week: + type: views_argument + label: 'Week Date' + +views.argument.date_year: + type: views_argument + label: 'Year Date' + +views.argument.date_year_month: + type: views_argument + label: 'YearMonthDate' + mapping: + created: + type: string + label: 'Date Year month' diff --git a/core/modules/views/config/schema/views.argument_validator.schema.yml b/core/modules/views/config/schema/views.argument_validator.schema.yml index 5bf1a2d..3dbc9d7 100644 --- a/core/modules/views/config/schema/views.argument_validator.schema.yml +++ b/core/modules/views/config/schema/views.argument_validator.schema.yml @@ -17,3 +17,19 @@ views.argument_validator.php: views.argument_validator.numeric: type: boolean label: 'Numeric' + +views.argument_validator_entity: + type: mapping + mapping: + bundles: + type: boolean + label: 'Bundles' + access: + type: boolean + label: 'Access' + operation: + type: string + label: 'Access operation to check' + multiple: + type: integer + label: 'Multiple arguments' diff --git a/core/modules/views/config/schema/views.data_types.schema.yml b/core/modules/views/config/schema/views.data_types.schema.yml index 4c10048..65697f2 100644 --- a/core/modules/views/config/schema/views.data_types.schema.yml +++ b/core/modules/views/config/schema/views.data_types.schema.yml @@ -64,6 +64,19 @@ views_display: label: 'Filters' sequence: - type: views.filter.[plugin_id] + filter_groups: + type: mapping + label: 'Groups' + mapping: + operator: + type: string + label: 'Operator' + groups: + type: sequence + label: 'Groups' + sequence: + - type: string + label: 'Operator' style: type: mapping label: 'Format' @@ -93,6 +106,9 @@ views_display: type: mapping label: 'Defaults' mapping: + empty: + type: boolean + label: 'Empty' access: type: boolean label: 'Access restrictions' @@ -109,7 +125,7 @@ views_display: type: boolean label: 'CSS class' display_description: - type: boolean + type: label label: 'Administrative description' use_ajax: type: boolean @@ -176,35 +192,65 @@ views_display: label: 'Relationships' sequence: - type: views.relationship.[plugin_id] - -views_sort: - type: mapping - label: 'Sort criteria' - mapping: - id: - type: string - label: 'ID' - table: + css_class: type: string - label: 'Table name' - field: + label: 'CSS class' + use_ajax: + type: boolean + label: 'Use AJAX' + group_by: + type: boolean + label: 'Aggregate' + display_description: + type: label + label: 'Administrative description' + show_admin_links: + type: boolean + label: 'Show contextual links' + use_more: + type: boolean + label: 'Create more link' + use_more_always: + type: boolean + label: 'Display ''more'' link only if there is more content' + use_more_text: type: string - label: 'Field name' - relationship: + label: 'The text to display for the more link.' + link_display: type: string - label: 'Relationship' - group_type: + label: 'Link display' + link_url: type: string - label: 'Group type' - admin_label: + label: 'Link URL' + pager_options: + type: boolean + label: 'Pager options' + header: + type: sequence + label: 'Header' + sequence: + - type: views.area.[plugin_id] + footer: + type: sequence + label: 'Footer' + sequence: + - type: views.area.[plugin_id] + display_comment: type: label - label: 'Administrative title' + label: 'Display comment' + hide_attachment_summary: + type: boolean + label: 'Hide attachments in summary' + +views_sort: + type: views_handler + label: 'Sort criteria' + mapping: order: type: string label: 'Sort order' expose: type: views.sort_expose.[%parent.plugin_id] - label: 'Expose settings' exposed: type: boolean label: 'Expose this sort to visitors, to allow them to change it' @@ -222,6 +268,9 @@ views_area: empty: type: boolean label: 'Should the area be displayed on empty results.' + plugin_id: + type: string + label: 'Plugin ID' views_handler: type: mapping @@ -244,6 +293,12 @@ views_handler: admin_label: type: label label: 'A string to identify the handler instance in the admin UI.' + provider: + type: string + label: 'Provider' + optional: + type: boolean + label: 'Optional' views_argument: type: views_handler @@ -334,6 +389,9 @@ views_argument: plugin_id: type: string label: 'Plugin ID' + provider: + type: string + label: 'Provider' views_exposed_form: @@ -488,6 +546,12 @@ views_field: hide_alter_empty: type: boolean label: 'Hide rewriting if empty' + plugin_id: + type: string + label: 'Plugin ID' + provider: + type: string + label: 'Provider' views_pager: type: mapping @@ -496,6 +560,9 @@ views_pager: offset: type: integer label: 'Offset' + items_per_page: + type: integer + label: 'Items per page' views_pager_sql: type: views_pager @@ -520,10 +587,16 @@ views_pager_sql: previous: type: label label: 'Previous page link text' + quantity: + type: integer + label: 'Number of pager links visible' expose: type: mapping label: 'Exposed options' mapping: + items_per_page: + type: boolean + label: 'Items per page' items_per_page_label: type: label label: 'Items per page label' @@ -582,10 +655,10 @@ views_filter: type: string label: 'Operator' value: - type: views.filter_value.[plugin_id] + type: views.filter_value.[%parent.plugin_id] label: 'Value' group: - type: string + type: integer label: 'Group' exposed: type: boolean @@ -653,7 +726,7 @@ views_filter: type: boolean label: 'Allow multiple selections' remember: - type: integer + type: boolean label: 'Remember' default_group: type: string @@ -670,19 +743,25 @@ views_filter: plugin_id: type: string label: 'Plugin ID' - filter_groups: - type: mapping - label: 'Groups' + provider: + type: string + label: 'Provider' + +views_filter_group_items: + type: sequence + sequence: + - type: mapping + label: 'Group item' mapping: + title: + type: label + label: 'Label' operator: type: string label: 'Operator' - groups: - type: sequence - label: 'Groups' - sequence: - - type: string - label: 'Operator' + value: + type: label + label: 'Value' views_relationship: type: mapping @@ -711,6 +790,9 @@ views_relationship: required: type: boolean label: 'Require this relationship' + provider: + type: string + label: 'Provider' views_query: type: mapping @@ -734,3 +816,18 @@ views_query: sequence: - type: string label: 'Tag' + +views_row: + type: mapping + label: 'Row' + mapping: + relationship: + type: string + label: 'Relationship' + +views_entity_row: + type: views_row + mapping: + view_mode: + type: string + label: 'View mode' diff --git a/core/modules/views/config/schema/views.display.schema.yml b/core/modules/views/config/schema/views.display.schema.yml index 601c229..e727b7f 100644 --- a/core/modules/views/config/schema/views.display.schema.yml +++ b/core/modules/views/config/schema/views.display.schema.yml @@ -86,6 +86,9 @@ views.display.feed: sequence: - type: string label: 'Display' + display_description: + type: text + label: 'Display description' views.display.embed: type: views_display diff --git a/core/modules/views/config/schema/views.field.schema.yml b/core/modules/views/config/schema/views.field.schema.yml index 8f0684d..595461b 100644 --- a/core/modules/views/config/schema/views.field.schema.yml +++ b/core/modules/views/config/schema/views.field.schema.yml @@ -51,6 +51,14 @@ views.field.date: type: string label: 'Timezone' +views.field.entity_label: + type: views_field + label: 'Entity label' + mapping: + link_to_entity: + type: boolean + label: 'Link to entity' + views.field.file_size: type: views_field label: 'File size' @@ -64,12 +72,19 @@ views.field.links: label: 'Links' mapping: fields: - type: string + type: sequence label: 'Fields' + sequence: + - type: string + label: 'Field' destination: type: boolean label: 'Include destination' +views.field.dropbutton: + type: views.field.links + label: 'Drop button' + views.field.machine_name: type: views_field label: 'Machine name' @@ -78,6 +93,10 @@ views.field.machine_name: type: boolean label: 'Output machine name' +views.field.markup: + type: views_field + label: 'Markup' + views.field.numeric: type: views_field label: 'Numeric' @@ -151,3 +170,7 @@ views.field.url: display_as_link: type: boolean label: 'Display as link' + +views.field.xss: + type: views_field + label: 'Xss' diff --git a/core/modules/views/config/schema/views.filter.schema.yml b/core/modules/views/config/schema/views.filter.schema.yml index ee78fd4..6af73f7 100644 --- a/core/modules/views/config/schema/views.filter.schema.yml +++ b/core/modules/views/config/schema/views.filter.schema.yml @@ -4,15 +4,13 @@ views.filter.*: type: views_filter label: 'Default filter' -views_filter_boolean: +views.filter.boolean: type: views_filter - mapping: - value: - type: boolean - label: 'Value' + label: 'Boolean' views_filter_boolean_string: - type: views_filter_boolean + type: views_filter + label: 'Boolean string' views.filter.broken: type: views_filter @@ -20,16 +18,27 @@ views.filter.broken: views.filter.bundle: type: views.filter.in_operator - label: 'Broken' + label: 'Bundle' views.filter.combine: type: views.filter.string label: 'Combine' + mapping: + fields: + type: sequence + label: 'Fields' + sequence: + - type: string + label: 'Field' views.filter.date: type: views.filter.numeric label: 'Date' +views.filter.groupby_numeric: + type: views.filter.numeric + label: 'Group by numeric' + views.filter.in_operator: type: views_filter label: 'IN operator' @@ -62,6 +71,9 @@ views.filter.string: required: type: boolean label: 'Required' + value: + type: string + label: 'Value' views.filter.numeric: type: views_filter @@ -86,7 +98,7 @@ views.filter.numeric: views.filter.equality: type: views.filter.numeric - label: 'Broken' + label: 'Equality' views.filter.many_to_one: type: views.filter.in_operator @@ -95,6 +107,9 @@ views.filter.many_to_one: operator: type: string label: 'Operator' + reduce_duplicates: + type: boolean + label: 'Reduce duplicate' value: type: sequence label: 'Values' @@ -102,19 +117,18 @@ views.filter.many_to_one: - type: string label: 'Value' +views.filter.standard: + type: views_filter + label: 'Standard' + +views.filter.group_items.*: + type: views_filter_group_items + label: 'Default' + views.filter.group_items.string: - type: sequence + type: views_filter_group_items + label: 'String group items' + +views.filter.group_items.boolean: + type: views_filter_group_items label: 'Group items' - sequence: - - type: mapping - label: 'Group item' - mapping: - title: - type: label - label: 'Label' - operator: - type: string - label: 'Operator' - value: - type: label - label: 'Value' diff --git a/core/modules/views/config/schema/views.filter_value.schema.yml b/core/modules/views/config/schema/views.filter_value.schema.yml index a59fc46..3b21b88 100644 --- a/core/modules/views/config/schema/views.filter_value.schema.yml +++ b/core/modules/views/config/schema/views.filter_value.schema.yml @@ -2,4 +2,6 @@ views.filter_value.boolean: type: boolean - label: 'value' + +views.filter_value.combine: + type: string diff --git a/core/modules/views/config/schema/views.pager.schema.yml b/core/modules/views/config/schema/views.pager.schema.yml index 4d171df..eb36022 100644 --- a/core/modules/views/config/schema/views.pager.schema.yml +++ b/core/modules/views/config/schema/views.pager.schema.yml @@ -11,10 +11,6 @@ views.pager.none: views.pager.some: type: views_pager label: 'Display a specified number of items' - mapping: - items_per_page: - type: integer - label: 'Items per page' views.pager.mini: type: views_pager_sql @@ -34,3 +30,6 @@ views.pager.full: last: type: label label: 'Last page link text' + quantity: + type: integer + label: 'Number of pager links visible' diff --git a/core/modules/views/config/schema/views.relationship.schema.yml b/core/modules/views/config/schema/views.relationship.schema.yml index 72cebaa..61643b2 100644 --- a/core/modules/views/config/schema/views.relationship.schema.yml +++ b/core/modules/views/config/schema/views.relationship.schema.yml @@ -1,5 +1,9 @@ # Schema for the views relationship. +views.relationship.*: + type: views_relationship + label: 'Standard' + views.relationship.standard: type: views_relationship label: 'Standard' diff --git a/core/modules/views/config/schema/views.row.schema.yml b/core/modules/views/config/schema/views.row.schema.yml index 0f20dc0..9eff504 100644 --- a/core/modules/views/config/schema/views.row.schema.yml +++ b/core/modules/views/config/schema/views.row.schema.yml @@ -1,11 +1,11 @@ # Schema for the views row. views.row.fields: - type: mapping + type: views_row label: 'Field options' mapping: default_field_elements: - type: string + type: boolean label: 'Provide default field wrapper elements' inline: type: sequence @@ -19,3 +19,33 @@ views.row.fields: hide_empty: type: boolean label: 'Hide empty' + +views.row.rss_fields: + type: mapping + label: 'RSS field options' + mapping: + title_field: + type: string + label: 'Title field' + link_field: + type: string + label: 'Link field' + description_field: + type: string + label: 'Description field' + creator_field: + type: string + label: 'Creator field' + date_field: + type: string + label: 'Publication date field' + guid_field_options: + type: mapping + label: 'Guid settings' + mapping: + guid_field: + type: string + label: 'GUID field' + guid_field_is_permalink: + type: boolean + label: 'GUID is permalink' diff --git a/core/modules/views/config/schema/views.schema.yml b/core/modules/views/config/schema/views.schema.yml index 66713b5..a9a7eaf 100644 --- a/core/modules/views/config/schema/views.schema.yml +++ b/core/modules/views/config/schema/views.schema.yml @@ -72,12 +72,15 @@ views.view.*: type: mapping label: 'View' mapping: + langcode: + type: string + label: 'Default language' status: type: boolean label: 'Status' module: label: 'Module' - name: + id: label: 'Machine name' description: type: text diff --git a/core/modules/views/config/schema/views.sort.schema.yml b/core/modules/views/config/schema/views.sort.schema.yml index 76a3f5a..757411f 100644 --- a/core/modules/views/config/schema/views.sort.schema.yml +++ b/core/modules/views/config/schema/views.sort.schema.yml @@ -11,3 +11,20 @@ views.sort.boolean: views.sort.date: type: views_sort label: 'Date sort' + mapping: + granularity: + type: string + label: 'Granularity' + +views.sort.broken: + type: views_sort + label: 'Broken' + +views.sort.random: + type: views_sort + label: 'Random' + +views.sort.standard: + type: views_sort + label: 'Standard' + diff --git a/core/modules/views/config/schema/views.sort_expose.schema.yml b/core/modules/views/config/schema/views.sort_expose.schema.yml index 57a8e70..3e14af3 100644 --- a/core/modules/views/config/schema/views.sort_expose.schema.yml +++ b/core/modules/views/config/schema/views.sort_expose.schema.yml @@ -1,8 +1,32 @@ # Schema for the views sort expose. -views.sort_expose.boolean: +views_sort_expose: type: mapping mapping: label: type: label label: 'Label' + +views.sort_expose.boolean: + type: views_sort_expose + label: 'Boolean sort expose settings' + +views.sort_expose.date: + type: views_sort_expose + label: 'Date sort expose settings' + +views.sort_expose.random: + type: views_sort_expose + label: 'Random sort expose settings' + mapping: + order: + type: string + label: 'Order' + +views.sort_expose.standard: + type: views_sort_expose + label: 'Standard sort expose settings' + mapping: + order: + type: string + label: 'Order' diff --git a/core/modules/views/config/schema/views.style.schema.yml b/core/modules/views/config/schema/views.style.schema.yml index dc6edd0..98a8ea7 100644 --- a/core/modules/views/config/schema/views.style.schema.yml +++ b/core/modules/views/config/schema/views.style.schema.yml @@ -101,10 +101,15 @@ views.style.table: empty_table: type: boolean label: 'Show the empty text in the table' - + caption: + type: label + label: 'Caption' + description: + type: text + label: 'Caption' views.style.default_summary: - type: mapping + type: views_style label: 'Summary options' mapping: base_path: @@ -121,7 +126,7 @@ views.style.default_summary: label: 'Items to display' views.style.rss: - type: mapping + type: views_style label: 'RSS Feed' mapping: description: @@ -129,7 +134,7 @@ views.style.rss: label: 'RSS description' views.style.unformatted_summary: - type: mapping + type: views.style.default_summary label: 'Unformatted' mapping: inline: diff --git a/core/modules/views/config/views.view.archive.yml b/core/modules/views/config/views.view.archive.yml index 56bbc67..b9bb1fc 100644 --- a/core/modules/views/config/views.view.archive.yml +++ b/core/modules/views/config/views.view.archive.yml @@ -43,7 +43,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 @@ -93,8 +93,8 @@ display: id: status table: node_field_data field: status - value: '1' - group: '0' + value: true + group: 0 expose: operator: '0' plugin_id: boolean @@ -111,8 +111,8 @@ display: type: 'entity:node' options: view_mode: teaser - links: '1' - comments: '0' + links: true + comments: false header: { } footer: { } empty: { } diff --git a/core/modules/views/config/views.view.glossary.yml b/core/modules/views/config/views.view.glossary.yml index fcf50e9..7d5f284 100644 --- a/core/modules/views/config/views.view.glossary.yml +++ b/core/modules/views/config/views.view.glossary.yml @@ -18,7 +18,7 @@ display: distinct: false slave: false query_tags: { } - use_ajax: '1' + use_ajax: true access: type: none options: { } @@ -43,7 +43,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 @@ -58,7 +58,7 @@ display: id: title table: node_field_data field: title - link_to_node: '1' + link_to_node: true plugin_id: node relationship: none group_type: group @@ -110,7 +110,7 @@ display: table: users field: name label: Author - link_to_user: '1' + link_to_user: true relationship: uid plugin_id: user_name group_type: group @@ -155,9 +155,9 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - overwrite_anonymous: '0' + overwrite_anonymous: false anonymous_text: '' - format_username: '1' + format_username: true provider: user changed: id: changed @@ -290,7 +290,7 @@ display: inline: { } separator: '' hide_empty: false - default_field_elements: '1' + default_field_elements: true header: { } footer: { } empty: { } @@ -322,7 +322,7 @@ display: type: none options: offset: 0 - items_per_page: '0' + items_per_page: 0 defaults: arguments: false arguments: @@ -339,7 +339,7 @@ display: summary: format: unformatted_summary summary_options: - items_per_page: '25' + items_per_page: 25 inline: true separator: ' | ' specify_validation: true diff --git a/core/modules/views/config/views.view.taxonomy_term.yml b/core/modules/views/config/views.view.taxonomy_term.yml index 40ca142..ed7c0ba 100644 --- a/core/modules/views/config/views.view.taxonomy_term.yml +++ b/core/modules/views/config/views.view.taxonomy_term.yml @@ -42,7 +42,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 @@ -100,11 +100,11 @@ display: type: 'entity:taxonomy_term' fail: 'not found' validate_options: - access: '1' + access: true operation: view - multiple: '1' + multiple: 1 bundles: { } - depth: '0' + depth: 0 break_phrase: true plugin_id: taxonomy_index_tid_depth relationship: none @@ -115,8 +115,8 @@ display: default_argument_skip_url: false summary_options: base_path: '' - count: '1' - items_per_page: '25' + count: true + items_per_page: 25 override: false provider: taxonomy term_node_tid_depth_modifier: @@ -149,7 +149,7 @@ display: id: status_extra table: node_field_data field: status_extra - group: '0' + group: 0 expose: operator: '0' plugin_id: node_status @@ -166,8 +166,8 @@ display: type: 'entity:node' options: view_mode: teaser - links: '1' - comments: '0' + links: true + comments: false header: { } footer: { } empty: { } @@ -200,7 +200,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 @@ -212,7 +212,7 @@ display: next: 'next ›' first: '« first' last: 'last »' - quantity: '9' + quantity: 9 path: taxonomy/term/%/%/feed displays: page: page @@ -222,13 +222,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: 'Taxonomy term' module: taxonomy id: taxonomy_term diff --git a/core/modules/views/config/views.view.tracker.yml b/core/modules/views/config/views.view.tracker.yml index 3d0b232..2325cae 100644 --- a/core/modules/views/config/views.view.tracker.yml +++ b/core/modules/views/config/views.view.tracker.yml @@ -43,7 +43,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 @@ -114,8 +114,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: '' provider: node title: id: title @@ -166,7 +166,7 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - link_to_node: '1' + link_to_node: true provider: node name: id: name @@ -217,10 +217,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 provider: user comment_count: id: comment_count @@ -339,9 +339,9 @@ display: table: history field: timestamp label: '' - link_to_node: '0' - comments: '1' - plugin_id: node_history_user_timestamp + link_to_node: false + comments: true + plugin_id: history_user_timestamp relationship: none group_type: group admin_label: '' @@ -393,7 +393,7 @@ display: label: '' hide_empty: true suffix: ' new' - link_to_comment: '1' + link_to_comment: true plugin_id: node_new_comments relationship: none group_type: group @@ -437,11 +437,11 @@ display: empty: '' empty_zero: false hide_alter_empty: true - set_precision: '0' - precision: '0' + set_precision: false + precision: 0 decimal: . separator: ',' - format_plural: '0' + format_plural: false format_plural_singular: '1' format_plural_plural: '@count' prefix: '' @@ -492,8 +492,8 @@ display: id: status table: node_field_data field: status - value: '1' - group: '0' + value: true + group: 0 expose: operator: '0' plugin_id: boolean @@ -546,7 +546,7 @@ display: inline: { } separator: '' hide_empty: false - default_field_elements: '1' + default_field_elements: true header: { } footer: { } empty: { } diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_access_none.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_access_none.yml index 8cfa8c2..2ae3b71 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_access_none.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_access_none.yml @@ -20,7 +20,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_access_none tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_aggregate_count.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_aggregate_count.yml index 5f7c897..f91f67d 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_aggregate_count.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_aggregate_count.yml @@ -54,7 +54,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_aggregate_count tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_ajax_view.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_ajax_view.yml index 0bc6418..ba7ce22 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_ajax_view.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_ajax_view.yml @@ -51,14 +51,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_ajax_view display_plugin: page display_title: Page id: page_1 - position: '1' + position: 1 label: 'Test ajax view' id: test_ajax_view tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_alias.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_alias.yml index 4baf989..89e3955 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_alias.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_alias.yml @@ -83,7 +83,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: test_alias module: views id: test_alias diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_title.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_title.yml index 6da4540..219bc95 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_title.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_title.yml @@ -43,7 +43,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: defaults: @@ -60,7 +60,7 @@ display: display_plugin: page display_title: 'Page 1' id: page_1 - position: '1' + position: 1 label: '' id: test_area_title tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_view.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_view.yml index ffd5173..c6fd478 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_view.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_view.yml @@ -44,7 +44,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_area_view tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_date.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_date.yml index 726961e..5e3ffad 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_date.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_date.yml @@ -42,7 +42,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 embed_1: display_options: defaults: diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_current_user.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_current_user.yml index 96b1974..cb14c2f 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_current_user.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_current_user.yml @@ -50,7 +50,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_argument_default_current_user tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_fixed.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_fixed.yml index d71ac66..703d355 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_fixed.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_fixed.yml @@ -53,7 +53,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_argument_default_fixed tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_attachment_ui.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_attachment_ui.yml index 11ddd6c..ca105c1 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_attachment_ui.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_attachment_ui.yml @@ -29,24 +29,24 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 attachment_1: display_plugin: attachment display_title: Attachment id: attachment_1 - position: '1' + position: 1 page_1: display_plugin: page display_title: Page display_options: path: test_attachment_ui id: page_1 - position: '2' + position: 2 feed_1: display_plugin: feed id: feed_1 display_title: Feed - position: '3' + position: 3 display_options: pager: type: some diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_cache.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_cache.yml index 7d10bc4..c5fb87e 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_cache.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_cache.yml @@ -7,7 +7,7 @@ display: display_plugin: default id: default display_title: Master - position: '0' + position: 0 display_options: fields: id: diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_click_sort.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_click_sort.yml index 2dfc632..32d25cf 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_click_sort.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_click_sort.yml @@ -44,14 +44,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_click_sort display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 label: { } id: test_click_sort tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml index 060b7e5..dfe9d4c 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml @@ -13,7 +13,7 @@ display: display_plugin: attachment display_title: Attachment id: attachment_1 - position: '0' + position: 0 attachment_2: display_options: displays: @@ -24,7 +24,7 @@ display: display_plugin: attachment display_title: Attachment id: attachment_2 - position: '0' + position: 0 default: display_options: access: @@ -186,14 +186,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_destroy display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 label: '' id: test_destroy tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display.yml index a223987..8ef1774 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display.yml @@ -31,7 +31,7 @@ display: display_plugin: block display_title: Block id: block_1 - position: '2' + position: 2 default: display_options: access: @@ -80,14 +80,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test-display display_plugin: page display_title: Page id: page_1 - position: '1' + position: 1 label: '' id: test_display tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_attachment.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_attachment.yml index 7026ac1..82f3ff1 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_attachment.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_attachment.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -50,14 +50,14 @@ display: display_plugin: page id: page_1 display_title: Page - position: '1' + position: 1 display_options: path: test-display-attachment attachment_1: display_plugin: attachment id: attachment_1 display_title: Attachment - position: '2' + position: 2 display_options: displays: page_1: page_1 diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_defaults.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_defaults.yml index 11b33fa..64af2b0 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_defaults.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_defaults.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: none diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_empty.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_empty.yml index eda6f84..ea6659e 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_empty.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_empty.yml @@ -37,7 +37,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' langcode: en id: test_display_empty diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_invalid.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_invalid.yml index db6ed33..fa7f524 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_invalid.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_invalid.yml @@ -17,19 +17,19 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_display_invalid display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 block_1: display_plugin: block id: block_1 display_title: Block - position: '1' + position: 1 label: '' id: test_display_invalid tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_more.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_more.yml index 82d616d..2ad1e31 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_more.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_more.yml @@ -39,12 +39,12 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_plugin: page id: page_1 display_title: Page - position: '1' + position: 1 display_options: path: test_display_more label: 'Test display more' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_dropbutton.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_dropbutton.yml index 98d0d72..e83d67b 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_dropbutton.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_dropbutton.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -226,7 +226,7 @@ display: display_plugin: page id: page_1 display_title: Page - position: '' + position: null display_options: path: test-dropbutton field: diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_area.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_area.yml index 5d06868..d61b746 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_area.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_area.yml @@ -51,7 +51,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_entity_area tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_row.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_row.yml index dc66a1f..34e2ec8 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_row.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_row.yml @@ -23,7 +23,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_entity_row tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_type_filter.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_type_filter.yml index 9babc1c..a9873c2 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_type_filter.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_type_filter.yml @@ -7,7 +7,7 @@ display: display_plugin: default id: default display_title: Master - position: '0' + position: 0 display_options: fields: nid: diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_example_area.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_example_area.yml index 2b94cc1..8005d4f 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_example_area.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_example_area.yml @@ -33,7 +33,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: { } id: test_example_area tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_executable_displays.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_executable_displays.yml index 9694314..71d5dc5 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_executable_displays.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_executable_displays.yml @@ -7,17 +7,17 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_plugin: page display_title: Page id: page_1 - position: '1' + position: 1 page_2: display_plugin: page display_title: 'Page 2' id: page_2 - position: '2' + position: 2 display_options: defaults: style: '0' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_admin_ui.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_admin_ui.yml index 1c993fb..c7779af 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_admin_ui.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_admin_ui.yml @@ -84,14 +84,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_exposed_admin_ui display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 label: '' id: test_exposed_admin_ui tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_block.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_block.yml index 0528a1d..ebda91d 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_block.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_block.yml @@ -42,7 +42,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_exposed_block @@ -50,7 +50,7 @@ display: display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 label: '' id: test_exposed_block tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_form.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_form.yml index 066da94..cde0aee 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_form.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_form.yml @@ -20,7 +20,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_exposed_form tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_form_buttons.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_form_buttons.yml index c55bf66..c8fefdb 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_form_buttons.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_form_buttons.yml @@ -42,14 +42,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_exposed_form_buttons display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 label: '' id: test_exposed_form_buttons tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_feed_display.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_feed_display.yml index 1c82fa3..bdf04ce 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_feed_display.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_feed_display.yml @@ -68,7 +68,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 feed_1: display_options: displays: { } @@ -83,14 +83,14 @@ display: display_plugin: feed display_title: Feed id: feed_1 - position: '0' + position: 0 page: display_options: path: test-feed-display display_plugin: page display_title: Page id: page - position: '0' + position: 0 label: test_feed_display module: views id: test_feed_display diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_classes.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_classes.yml index 4f0a5e2..b439bd9 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_classes.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_classes.yml @@ -21,14 +21,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_field_classes display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 label: { } id: test_field_classes tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_get_entity.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_get_entity.yml index cac8aad..3b634c6 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_get_entity.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_get_entity.yml @@ -67,7 +67,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: test_field_get_entity id: test_field_get_entity tag: default diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_output.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_output.yml index 74f7e59..ba5b139 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_output.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_output.yml @@ -21,7 +21,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_field_output tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_tokens.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_tokens.yml index 5bb6c56..117559e 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_tokens.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_tokens.yml @@ -47,6 +47,6 @@ display: display_plugin: default display_title: Defaults id: default - position: '0' + position: 0 id: test_field_tokens tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter.yml index cfd3c6f..f202916 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter.yml @@ -38,6 +38,6 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: 'Test filters' id: test_filter diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_date_between.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_date_between.yml index 384dd7e..5eefe8f 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_date_between.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_date_between.yml @@ -38,7 +38,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_filter_date_between tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_group_override.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_group_override.yml index 99356cd..ca95b6b 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_group_override.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_group_override.yml @@ -44,14 +44,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 label: test_filter_group_override id: test_filter_group_override tag: default diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_groups.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_groups.yml index 0975e42..b0ef217 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_groups.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_groups.yml @@ -77,7 +77,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page: display_options: defaults: @@ -120,7 +120,7 @@ display: display_plugin: page display_title: Page id: page - position: '0' + position: 0 label: test_filter_groups id: test_filter_groups tag: default diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_in_operator_ui.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_in_operator_ui.yml index f10f25c..8473c13 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_in_operator_ui.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_in_operator_ui.yml @@ -34,7 +34,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_filter_in_operator_ui tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_get_attach_displays.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_get_attach_displays.yml index 94c777c..79c4473 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_get_attach_displays.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_get_attach_displays.yml @@ -9,7 +9,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -75,14 +75,14 @@ display: display_plugin: page id: page_1 display_title: Page - position: '' + position: null display_options: path: test-get-attach-displays feed_1: display_plugin: feed id: feed_1 display_title: Feed - position: '' + position: null display_options: pager: type: some @@ -98,7 +98,7 @@ display: display_plugin: feed id: feed_2 display_title: 'Feed 2' - position: '' + position: null display_options: displays: default: default diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_glossary.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_glossary.yml index 41875e8..ec0ea2f 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_glossary.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_glossary.yml @@ -45,7 +45,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: test_glossary id: test_glossary tag: default diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_grid.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_grid.yml index a8d9579..70cb460 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_grid.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_grid.yml @@ -58,14 +58,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test-grid display_plugin: page display_title: 'Page display' id: page_1 - position: '1' + position: 1 label: '' id: test_grid tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_group_by_count.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_group_by_count.yml index 4bf96e3..7b71624 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_group_by_count.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_group_by_count.yml @@ -55,7 +55,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_group_by_count tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_group_by_in_filters.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_group_by_in_filters.yml index 46cdd57..198d94e 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_group_by_in_filters.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_group_by_in_filters.yml @@ -49,7 +49,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_group_by_in_filters tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_handler_relationships.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_handler_relationships.yml index 4d9f7d8..9f62495 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_handler_relationships.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_handler_relationships.yml @@ -29,7 +29,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_handler_relationships tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_handler_test_access.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_handler_test_access.yml index 2a1a649..ce49309 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_handler_test_access.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_handler_test_access.yml @@ -58,5 +58,5 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 id: test_handler_test_access diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_history.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_history.yml index f2791fc..171b42e 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_history.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_history.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -119,7 +119,7 @@ display: display_plugin: page id: page_1 display_title: 'Page without new filter' - position: '' + position: null display_options: display_description: '' path: test-without-history @@ -127,7 +127,7 @@ display: display_plugin: page id: page_2 display_title: 'Page with new filter' - position: '' + position: null display_options: display_description: '' path: test-with-history diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_http_status_code.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_http_status_code.yml index 56ccb7c..7676093 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_http_status_code.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_http_status_code.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -72,7 +72,7 @@ display: display_plugin: page id: page_1 display_title: Page - position: '' + position: null display_options: path: test-http-status-code label: test_http_status_code diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_mini_pager.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_mini_pager.yml index 484055c..d1f5552 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_mini_pager.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_mini_pager.yml @@ -9,7 +9,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -82,14 +82,14 @@ display: display_plugin: page id: page_1 display_title: Page - position: '' + position: null display_options: path: test_mini_pager page_2: display_plugin: page id: page_2 display_title: Page - position: '' + position: null display_options: path: test_mini_pager_one defaults: @@ -102,7 +102,7 @@ display: display_plugin: page id: page_3 display_title: Page - position: '' + position: null display_options: path: test_mini_pager_all defaults: diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display.yml index d090123..d83c987 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display.yml @@ -21,28 +21,28 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_page_display_403 display_plugin: page display_title: Page id: page_1 - position: '1' + position: 1 page_2: display_options: path: test_page_display_404 display_plugin: page display_title: Page id: page_2 - position: '2' + position: 2 page_3: display_options: path: test_page_display_200 display_plugin: page display_title: Page id: page_3 - position: '3' + position: 3 label: '' id: test_page_display tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_arguments.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_arguments.yml index 33c717c..1b001d7 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_arguments.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_arguments.yml @@ -21,14 +21,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_route_without_arguments display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 page_2: display_options: defaults: @@ -45,7 +45,7 @@ display: display_plugin: page display_title: Page id: page_2 - position: '0' + position: 0 page_3: display_options: defaults: @@ -62,7 +62,7 @@ display: display_plugin: page display_title: Page id: page_3 - position: '0' + position: 0 page_4: display_options: defaults: @@ -86,7 +86,7 @@ display: display_plugin: page display_title: Page id: page_4 - position: '0' + position: 0 page_5: display_options: defaults: @@ -103,7 +103,7 @@ display: display_plugin: page display_title: Page id: page_5 - position: '0' + position: 0 label: '' id: test_page_display_arguments tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_menu.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_menu.yml index 687e1c2..1d1911b 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_menu.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_menu.yml @@ -21,7 +21,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_page_display_menu/default @@ -44,7 +44,7 @@ display: display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 page_2: display_options: path: test_page_display_menu/local @@ -61,7 +61,7 @@ display: display_plugin: page display_title: Page id: page_2 - position: '0' + position: 0 label: 'Test page menu' id: test_page_display_menu tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_route.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_route.yml index a827e87..281b2fc 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_route.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_route.yml @@ -21,14 +21,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_route_without_arguments display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 page_2: display_options: defaults: @@ -45,7 +45,7 @@ display: display_plugin: page display_title: Page id: page_2 - position: '0' + position: 0 page_3: display_options: defaults: @@ -62,7 +62,7 @@ display: display_plugin: page display_title: Page id: page_3 - position: '0' + position: 0 page_4: display_options: defaults: @@ -86,7 +86,7 @@ display: display_plugin: page display_title: Page id: page_4 - position: '0' + position: 0 page_5: display_options: defaults: @@ -110,7 +110,7 @@ display: display_plugin: page display_title: Page id: page_5 - position: '0' + position: 0 page_6: display_options: defaults: @@ -134,7 +134,7 @@ display: display_plugin: page display_title: Page id: page_6 - position: '0' + position: 0 page_7: display_options: defaults: @@ -145,7 +145,7 @@ display: display_plugin: page display_title: Page id: page_7 - position: '0' + position: 0 label: '' id: test_page_display_route tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_view.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_view.yml index 39608d6..3ab4cb9 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_view.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_view.yml @@ -21,7 +21,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_plugin: page display_title: 'Test page view' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_full.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_full.yml index b93e53d..803ee26 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_full.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_full.yml @@ -24,7 +24,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_pager_full tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_none.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_none.yml index 999f40d..0a3c918 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_none.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_none.yml @@ -20,7 +20,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_pager_none tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_some.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_some.yml index 2ec3439..952b90e 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_some.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_pager_some.yml @@ -23,7 +23,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_pager_some tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_preview.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_preview.yml index 920ed7d..bac7301 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_preview.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_preview.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_redirect_view.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_redirect_view.yml index 12e38fa..0f8d35e 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_redirect_view.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_redirect_view.yml @@ -9,7 +9,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null display_options: access: type: perm @@ -75,7 +75,7 @@ display: display_plugin: page id: page_1 display_title: Page - position: '' + position: null display_options: path: test-redirect-view base_field: nid diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_simple_argument.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_simple_argument.yml index 5e9220d..ff1f938 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_simple_argument.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_simple_argument.yml @@ -83,7 +83,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_simple_argument tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_store_pager_settings.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_store_pager_settings.yml index a0ea018..340827b 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_store_pager_settings.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_store_pager_settings.yml @@ -20,7 +20,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_store_pager_settings tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_style_mapping.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_style_mapping.yml index 9cac36f..2f4cb9c 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_style_mapping.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_style_mapping.yml @@ -59,7 +59,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_style_mapping tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_table.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_table.yml index 8957262..159b4f6 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_table.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_table.yml @@ -105,14 +105,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test-table display_plugin: page display_title: 'Page display' id: page_1 - position: '1' + position: 1 label: '' id: test_table tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tag_cache.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tag_cache.yml index f81b53e..c1df594 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tag_cache.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tag_cache.yml @@ -97,7 +97,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_tag_cache tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml index 2867aa9..a9c55df 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml @@ -43,12 +43,12 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: id: page_1 display_title: Page display_plugin: page - position: '1' + position: 1 display_options: defaults: title: '0' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view.yml index 1f47740..df3bbe2 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view.yml @@ -49,7 +49,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: 'Test view' id: test_view tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_argument_validate_numeric.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_argument_validate_numeric.yml index 2cb8d4f..61379cd 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_argument_validate_numeric.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_argument_validate_numeric.yml @@ -32,7 +32,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_view_argument_validate_numeric tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_argument_validate_php.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_argument_validate_php.yml index de1e187..871206d 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_argument_validate_php.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_argument_validate_php.yml @@ -32,7 +32,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_view_argument_validate_php tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_broken.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_broken.yml index e5870e5..b51f6b3 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_broken.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_broken.yml @@ -83,7 +83,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: 'Test view' id: test_view_broken tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_delete.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_delete.yml index 70c6027..b27a2e3 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_delete.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_delete.yml @@ -22,7 +22,7 @@ display: display_plugin: default display_title: Defaults id: default - position: '0' + position: 0 label: test_view_delete id: test_view_delete tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_display_template.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_display_template.yml index f005f00..cac0438 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_display_template.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_display_template.yml @@ -8,7 +8,7 @@ display: display_plugin: default id: default display_title: Master - position: '1' + position: 1 display_options: access: { } cache: { } diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_empty.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_empty.yml index 9504a9f..75cbfe6 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_empty.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_empty.yml @@ -26,7 +26,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_view_empty tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_handler_weight.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_handler_weight.yml index e7b0d0a..089e80b 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_handler_weight.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_handler_weight.yml @@ -70,7 +70,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_view_handler_weight tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_optional.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_optional.yml index 36bf93e..de319fe 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_optional.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_optional.yml @@ -91,7 +91,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: 'Test view' id: test_view_optional tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_pager_full_zero_items_per_page.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_pager_full_zero_items_per_page.yml index f563ed8..baa376a 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_pager_full_zero_items_per_page.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_pager_full_zero_items_per_page.yml @@ -42,7 +42,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_view_pager_full_zero_items_per_page tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_render.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_render.yml index 320d835..2631533 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_render.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_render.yml @@ -51,7 +51,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_view_render tag: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_status.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_status.yml index 88ede15..e2e0206 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_status.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_status.yml @@ -9,7 +9,7 @@ display: display_plugin: default id: default display_title: Master - position: '' + position: null base_field: id status: '0' module: views diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_storage.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_storage.yml index 7a431c8..7cf6c19 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_storage.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_storage.yml @@ -31,12 +31,12 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: id: page_1 display_title: Page display_plugin: page - position: '1' + position: 1 display_options: query: type: views_query @@ -46,7 +46,7 @@ display: id: block_1 display_title: Block display_plugin: block - position: '2' + position: 2 display_options: query: type: views_query diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_views_groupby_save.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_views_groupby_save.yml index e17bdf4..9104e91 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_views_groupby_save.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_views_groupby_save.yml @@ -27,7 +27,7 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 label: '' id: test_views_groupby_save tag: '' diff --git a/core/modules/views/tests/modules/views_test_data/test_views/views.view.test_access_static.yml b/core/modules/views/tests/modules/views_test_data/test_views/views.view.test_access_static.yml index dc21c9c..490186b 100644 --- a/core/modules/views/tests/modules/views_test_data/test_views/views.view.test_access_static.yml +++ b/core/modules/views/tests/modules/views_test_data/test_views/views.view.test_access_static.yml @@ -20,14 +20,14 @@ display: display_plugin: default display_title: Master id: default - position: '0' + position: 0 page_1: display_options: path: test_access_static display_plugin: page display_title: Page id: page_1 - position: '0' + position: 0 label: '' id: test_access_static tag: '' diff --git a/core/profiles/minimal/config/block.block.stark_admin.yml b/core/profiles/minimal/config/block.block.stark_admin.yml index 1c11ab5..aeded26 100644 --- a/core/profiles/minimal/config/block.block.stark_admin.yml +++ b/core/profiles/minimal/config/block.block.stark_admin.yml @@ -1,7 +1,7 @@ id: stark_admin theme: stark -weight: '1' -status: '1' +weight: 1 +status: true langcode: en region: sidebar_first plugin: 'system_menu_block:admin' @@ -9,10 +9,10 @@ settings: label: Administration module: system label_display: visible - cache: '-1' + cache: -1 visibility: path: - visibility: '0' + visibility: 0 pages: '' role: roles: { } diff --git a/core/profiles/minimal/config/block.block.stark_login.yml b/core/profiles/minimal/config/block.block.stark_login.yml index a727ff5..7ca1d45 100644 --- a/core/profiles/minimal/config/block.block.stark_login.yml +++ b/core/profiles/minimal/config/block.block.stark_login.yml @@ -1,7 +1,7 @@ id: stark_login theme: stark -weight: '0' -status: '1' +weight: 0 +status: true langcode: en region: sidebar_first plugin: user_login_block @@ -9,10 +9,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/minimal/config/block.block.stark_tools.yml b/core/profiles/minimal/config/block.block.stark_tools.yml index 6073ede..0d1fb7b 100644 --- a/core/profiles/minimal/config/block.block.stark_tools.yml +++ b/core/profiles/minimal/config/block.block.stark_tools.yml @@ -1,7 +1,7 @@ id: stark_tools theme: stark -weight: '0' -status: '1' +weight: 0 +status: true langcode: en region: sidebar_first plugin: 'system_menu_block:tools' @@ -9,10 +9,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.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..f76a568 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: { } @@ -22,4 +22,3 @@ visibility: article: '0' page: '0' visibility__active_tab: edit-visibility-path - diff --git a/core/profiles/standard/config/editor.editor.full_html.yml b/core/profiles/standard/config/editor.editor.full_html.yml index 2e70cfd..cd17f03 100644 --- a/core/profiles/standard/config/editor.editor.full_html.yml +++ b/core/profiles/standard/config/editor.editor.full_html.yml @@ -32,7 +32,7 @@ settings: - Table - HorizontalRule - - name: Block Formatting + name: 'Block Formatting' items: - Format - @@ -40,7 +40,6 @@ settings: items: - ShowBlocks - Source - plugins: stylescombo: styles: '' 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.field.user.user_picture.yml b/core/profiles/standard/config/field.field.user.user_picture.yml index 27c3069..41aaf5e 100644 --- a/core/profiles/standard/config/field.field.user.user_picture.yml +++ b/core/profiles/standard/config/field.field.user.user_picture.yml @@ -7,7 +7,12 @@ entity_type: user type: image settings: uri_scheme: public - default_image: false + default_image: + fid: null + alt: '' + title: '' + width: null + height: null column_groups: file: label: File @@ -22,7 +27,6 @@ settings: label: Title translatable: true module: image -active: true locked: false cardinality: 1 translatable: false 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