diff --git a/core/modules/block/custom_block/config/entity.view_mode.custom_block.full.yml b/core/modules/block/custom_block/config/entity.view_mode.custom_block.full.yml index 8d346a2..ebacec5 100644 --- a/core/modules/block/custom_block/config/entity.view_mode.custom_block.full.yml +++ b/core/modules/block/custom_block/config/entity.view_mode.custom_block.full.yml @@ -2,4 +2,3 @@ id: custom_block.full label: Full status: '0' targetEntityType: custom_block -locked: '1' diff --git a/core/modules/book/config/entity.view_mode.node.print.yml b/core/modules/book/config/entity.view_mode.node.print.yml index 621896b..fe45f50 100644 --- a/core/modules/book/config/entity.view_mode.node.print.yml +++ b/core/modules/book/config/entity.view_mode.node.print.yml @@ -2,4 +2,3 @@ id: node.print label: Print status: '0' targetEntityType: node -locked: '1' diff --git a/core/modules/comment/config/entity.view_mode.comment.full.yml b/core/modules/comment/config/entity.view_mode.comment.full.yml index 1dd3383..e48fbd7 100644 --- a/core/modules/comment/config/entity.view_mode.comment.full.yml +++ b/core/modules/comment/config/entity.view_mode.comment.full.yml @@ -2,4 +2,3 @@ id: comment.full label: Full comment status: '0' targetEntityType: comment -locked: '1' diff --git a/core/modules/field/field.module b/core/modules/field/field.module index 87e592d..2cb7679 100644 --- a/core/modules/field/field.module +++ b/core/modules/field/field.module @@ -574,9 +574,9 @@ function _field_sort_items_value_helper($a, $b) { * elements: * - view_modes: An associative array keyed by view mode, with the following * key/value pairs: - * - status: Boolean specifying whether the view mode uses a - * dedicated set of display options (TRUE), or the 'default' options - * (FALSE). Defaults to FALSE. + * - status: Boolean specifying whether the view mode uses a dedicated set + * of display options (TRUE), or the 'default' options (FALSE). Defaults + * to FALSE. * - extra_fields: An associative array containing the form and display * settings for extra fields (also known as pseudo-fields): * - form: An associative array whose keys are the names of extra fields, @@ -623,9 +623,9 @@ function field_bundle_settings($entity_type, $bundle, $settings = NULL) { * * @return * An array keyed by view mode, with the following key/value pairs: - * - status: Boolean specifying whether the view mode uses a - * dedicated set of display options (TRUE), or the 'default' options - * (FALSE). Defaults to FALSE. + * - status: Boolean specifying whether the view mode uses a dedicated set of + * display options (TRUE), or the 'default' options (FALSE). Defaults to + * FALSE. */ function field_view_mode_settings($entity_type, $bundle) { $cache = &drupal_static(__FUNCTION__, array()); diff --git a/core/modules/file/config/entity.view_mode.file.full.yml b/core/modules/file/config/entity.view_mode.file.full.yml index 4852de7..60808f9 100644 --- a/core/modules/file/config/entity.view_mode.file.full.yml +++ b/core/modules/file/config/entity.view_mode.file.full.yml @@ -2,4 +2,3 @@ id: file.full label: File default status: '0' targetEntityType: file -locked: '1' 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 aabb62e..af6d938 100644 --- a/core/modules/node/config/entity.view_mode.node.full.yml +++ b/core/modules/node/config/entity.view_mode.node.full.yml @@ -2,4 +2,3 @@ id: node.full label: Full content status: '0' targetEntityType: node -locked: '1' 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 62bf8f7..984b05f 100644 --- a/core/modules/node/config/entity.view_mode.node.rss.yml +++ b/core/modules/node/config/entity.view_mode.node.rss.yml @@ -2,4 +2,3 @@ id: node.rss label: RSS status: '0' targetEntityType: node -locked: '1' 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 a604a3c..2089b94 100644 --- a/core/modules/node/config/entity.view_mode.node.teaser.yml +++ b/core/modules/node/config/entity.view_mode.node.teaser.yml @@ -2,4 +2,3 @@ id: node.teaser label: Teaser status: '1' targetEntityType: node -locked: '1' 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 eed60ff..ed22c30 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 @@ -2,4 +2,3 @@ id: node.search_index label: Search index status: '0' targetEntityType: node -locked: '1' 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 fe7f028..1608657 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 @@ -2,4 +2,3 @@ id: node.search_result label: Search result status: '0' targetEntityType: node -locked: '1' diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 35529f0..c3a9cda 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -2186,7 +2186,6 @@ function system_update_8056() { ->set('id', "$entity_type.$key") ->set('label', $name) ->set('targetEntityType', $entity_type) - ->set('locked', TRUE) ->set('status', $status) ->save(); } diff --git a/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test_render.full.yml b/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test_render.full.yml index e599269..8902bc3 100644 --- a/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test_render.full.yml +++ b/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test_render.full.yml @@ -2,4 +2,3 @@ id: entity_test_render.full label: Full status: '0' targetEntityType: entity_test_render -locked: '1' diff --git a/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test_render.test.yml b/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test_render.test.yml index 05ec0bc..a0d108b 100644 --- a/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test_render.test.yml +++ b/core/modules/system/tests/modules/entity_test/config/entity.view_mode.entity_test_render.test.yml @@ -2,4 +2,3 @@ id: entity_test_render.test label: Test status: '0' targetEntityType: entity_test_render -locked: '1' 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 4dbd78b..100547e 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 @@ -2,4 +2,3 @@ id: taxonomy_term.full label: Taxonomy term page status: '0' targetEntityType: taxonomy_term -locked: '1' diff --git a/core/modules/taxonomy/config/entity.view_mode.taxonomy_vocabulary.full.yml b/core/modules/taxonomy/config/entity.view_mode.taxonomy_vocabulary.full.yml index f84e9b3..bb47091 100644 --- a/core/modules/taxonomy/config/entity.view_mode.taxonomy_vocabulary.full.yml +++ b/core/modules/taxonomy/config/entity.view_mode.taxonomy_vocabulary.full.yml @@ -2,4 +2,3 @@ id: vocabulary.full label: Taxonomy vocabulary status: '0' targetEntityType: taxonomy_vocabulary -locked: '1' diff --git a/core/modules/user/config/entity.view_mode.user.compact.yml b/core/modules/user/config/entity.view_mode.user.compact.yml index 58f0696..c27265b 100644 --- a/core/modules/user/config/entity.view_mode.user.compact.yml +++ b/core/modules/user/config/entity.view_mode.user.compact.yml @@ -2,4 +2,3 @@ id: user.compact label: Compact status: '1' targetEntityType: user -locked: '1' 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 486ebc7..ac1ca20 100644 --- a/core/modules/user/config/entity.view_mode.user.full.yml +++ b/core/modules/user/config/entity.view_mode.user.full.yml @@ -2,4 +2,3 @@ id: user.full label: User account status: '0' targetEntityType: user -locked: '1'