diff --git a/core/lib/Drupal/Core/Entity/Entity.php b/core/lib/Drupal/Core/Entity/Entity.php index 785c81c..1eb7c23 100644 --- a/core/lib/Drupal/Core/Entity/Entity.php +++ b/core/lib/Drupal/Core/Entity/Entity.php @@ -331,6 +331,10 @@ public function getTranslationLanguages($include_default = TRUE) { * Implements \Drupal\Core\Entity\EntityInterface::save(). */ public function save() { + // Entities that are not new must have UUIDs. + if (!$this->isNew() && !$this->uuid()) { + throw new EntityMalformedException('Only new entities can be saved without a UUID.'); + } return drupal_container()->get('plugin.manager.entity')->getStorageController($this->entityType)->save($this); } diff --git a/core/modules/block/custom_block/config/custom_block.type.basic.yml b/core/modules/block/custom_block/config/custom_block.type.basic.yml index 58e87d7..24e42a7 100644 --- a/core/modules/block/custom_block/config/custom_block.type.basic.yml +++ b/core/modules/block/custom_block/config/custom_block.type.basic.yml @@ -1,5 +1,6 @@ id: basic label: Basic block +uuid: 4bcdec7a-c867-404b-855d-939a11420b12 revision: '0' description: A basic block contains a title and a body. langcode: en diff --git a/core/modules/contact/config/contact.category.feedback.yml b/core/modules/contact/config/contact.category.feedback.yml index aae9098..64ce8c9 100644 --- a/core/modules/contact/config/contact.category.feedback.yml +++ b/core/modules/contact/config/contact.category.feedback.yml @@ -1,4 +1,5 @@ id: feedback +uuid: 29821a98-2498-4161-8d00-e4dba46dd1e8 label: 'Website feedback' recipients: [] reply: '' diff --git a/core/modules/filter/config/filter.format.plain_text.yml b/core/modules/filter/config/filter.format.plain_text.yml index a7f72cd..bfb7b4c 100644 --- a/core/modules/filter/config/filter.format.plain_text.yml +++ b/core/modules/filter/config/filter.format.plain_text.yml @@ -5,6 +5,7 @@ format: plain_text name: 'Plain text' status: '1' +uuid: 7dd77dca-6a80-4538-b10d-133fa66d42f0 weight: '10' roles: - anonymous diff --git a/core/modules/menu/config/menu.menu.account.yml b/core/modules/menu/config/menu.menu.account.yml index 0afc9d0..79d9f56 100644 --- a/core/modules/menu/config/menu.menu.account.yml +++ b/core/modules/menu/config/menu.menu.account.yml @@ -1,4 +1,5 @@ id: account +uuid: bd0c5746-5eb2-4cd6-ab00-c6f0898b8a49 label: 'User account menu' description: 'Links related to the user account.' langcode: en diff --git a/core/modules/menu/config/menu.menu.admin.yml b/core/modules/menu/config/menu.menu.admin.yml index d5f89e8..e9bc541 100644 --- a/core/modules/menu/config/menu.menu.admin.yml +++ b/core/modules/menu/config/menu.menu.admin.yml @@ -1,4 +1,5 @@ id: admin +uuid: a1d5c39e-7181-47b0-9b03-3bda644f0f83 label: Administration description: 'Contains links to administrative tasks.' langcode: en diff --git a/core/modules/menu/config/menu.menu.footer.yml b/core/modules/menu/config/menu.menu.footer.yml index 7328c6b..a38e272 100644 --- a/core/modules/menu/config/menu.menu.footer.yml +++ b/core/modules/menu/config/menu.menu.footer.yml @@ -1,4 +1,5 @@ id: footer +uuid: 7bb209f4-a1a0-45f0-a007-7df67b3270eb label: Footer description: 'Use this for linking to site information.' langcode: en diff --git a/core/modules/menu/config/menu.menu.main.yml b/core/modules/menu/config/menu.menu.main.yml index 713bb0b..04e952f 100644 --- a/core/modules/menu/config/menu.menu.main.yml +++ b/core/modules/menu/config/menu.menu.main.yml @@ -1,4 +1,5 @@ id: main +uuid: 0e95122e-0639-486c-845c-921902ee4fc6 label: 'Main navigation' description: 'Use this for linking to the main site sections.' langcode: en diff --git a/core/modules/menu/config/menu.menu.tools.yml b/core/modules/menu/config/menu.menu.tools.yml index 8bdeec8..8f2a96b 100644 --- a/core/modules/menu/config/menu.menu.tools.yml +++ b/core/modules/menu/config/menu.menu.tools.yml @@ -1,4 +1,5 @@ id: tools +uuid: b46dfe60-7bf3-430b-bf09-9f465a9b268b label: Tools description: 'Contains links for site visitors. Some modules add their links here.' langcode: en diff --git a/core/modules/node/config/views.view.frontpage.yml b/core/modules/node/config/views.view.frontpage.yml index fb2e3c9..7b2466b 100644 --- a/core/modules/node/config/views.view.frontpage.yml +++ b/core/modules/node/config/views.view.frontpage.yml @@ -152,4 +152,5 @@ label: Frontpage module: node id: frontpage tag: 'default' +uuid: 5c8da842-af9f-4a6e-bd00-af738b26ec3c langcode: en diff --git a/core/modules/shortcut/config/shortcut.set.default.yml b/core/modules/shortcut/config/shortcut.set.default.yml index 3e50e3b..784da9c 100644 --- a/core/modules/shortcut/config/shortcut.set.default.yml +++ b/core/modules/shortcut/config/shortcut.set.default.yml @@ -1,2 +1,3 @@ id: default +uuid: b28b577b-1426-416c-923b-599f65f31aba label: Default diff --git a/core/modules/user/config/user.role.anonymous.yml b/core/modules/user/config/user.role.anonymous.yml index 1947f35..9903ca7 100644 --- a/core/modules/user/config/user.role.anonymous.yml +++ b/core/modules/user/config/user.role.anonymous.yml @@ -1,4 +1,5 @@ id: anonymous label: Anonymous user weight: 0 +uuid: 4a916541-1cc7-4175-a55a-906ed2a005a0 langcode: en diff --git a/core/modules/user/config/user.role.authenticated.yml b/core/modules/user/config/user.role.authenticated.yml index 16df96d..c23cc19 100644 --- a/core/modules/user/config/user.role.authenticated.yml +++ b/core/modules/user/config/user.role.authenticated.yml @@ -1,4 +1,5 @@ id: authenticated label: Authenticated user weight: 1 +uuid: 515250c9-46bd-4611-ba06-6b8cfd63f1a7 langcode: en diff --git a/core/modules/views/config/views.view.archive.yml b/core/modules/views/config/views.view.archive.yml index c1bfca9..faf8714 100644 --- a/core/modules/views/config/views.view.archive.yml +++ b/core/modules/views/config/views.view.archive.yml @@ -105,4 +105,5 @@ label: Archive module: node id: archive tag: default +uuid: 39fb337d-c126-446c-8345-6908b45313ca langcode: en diff --git a/core/modules/views/config/views.view.backlinks.yml b/core/modules/views/config/views.view.backlinks.yml index 0d06e1b..e3391af 100644 --- a/core/modules/views/config/views.view.backlinks.yml +++ b/core/modules/views/config/views.view.backlinks.yml @@ -124,4 +124,5 @@ label: Backlinks module: search id: backlinks tag: default +uuid: f8463c93-be1a-4764-8900-bad957e756c2 langcode: en diff --git a/core/modules/views/config/views.view.comments_recent.yml b/core/modules/views/config/views.view.comments_recent.yml index 1e9bb54..baaec68 100644 --- a/core/modules/views/config/views.view.comments_recent.yml +++ b/core/modules/views/config/views.view.comments_recent.yml @@ -133,4 +133,5 @@ label: 'Recent comments' module: comment id: comments_recent tag: default +uuid: 67212880-6a63-453b-a902-2d13580f7d1c langcode: en diff --git a/core/modules/views/config/views.view.glossary.yml b/core/modules/views/config/views.view.glossary.yml index a093727..347e411 100644 --- a/core/modules/views/config/views.view.glossary.yml +++ b/core/modules/views/config/views.view.glossary.yml @@ -154,4 +154,5 @@ label: Glossary module: node id: glossary tag: default +uuid: da0cfcf2-3e94-436f-a900-0dd0c2310cd7 langcode: en diff --git a/core/modules/views/config/views.view.taxonomy_term.yml b/core/modules/views/config/views.view.taxonomy_term.yml index e4aaf5b..86c5dde 100644 --- a/core/modules/views/config/views.view.taxonomy_term.yml +++ b/core/modules/views/config/views.view.taxonomy_term.yml @@ -113,4 +113,5 @@ label: 'Taxonomy term' module: taxonomy id: taxonomy_term tag: default +uuid: e0dea92e-a4c9-4442-a518-2499bfe17d73 langcode: en diff --git a/core/modules/views/config/views.view.tracker.yml b/core/modules/views/config/views.view.tracker.yml index 9bddcc2..6ff683f 100644 --- a/core/modules/views/config/views.view.tracker.yml +++ b/core/modules/views/config/views.view.tracker.yml @@ -159,4 +159,5 @@ label: Tracker module: node id: tracker tag: default +uuid: 8bada3d5-50a4-469e-ae06-6dc98e11e5ec langcode: en diff --git a/core/profiles/standard/config/block.block.bartik.content.yml b/core/profiles/standard/config/block.block.bartik.content.yml index 07c3cdd..6070df6 100644 --- a/core/profiles/standard/config/block.block.bartik.content.yml +++ b/core/profiles/standard/config/block.block.bartik.content.yml @@ -1,5 +1,6 @@ id: bartik.content plugin: system_main_block +uuid: 2cab5a0c-de08-4b5c-9700-f0243a6fb000 status: '1' settings: cache: '-1' diff --git a/core/profiles/standard/config/block.block.bartik.footer.yml b/core/profiles/standard/config/block.block.bartik.footer.yml index 553edb7..417aeb0 100644 --- a/core/profiles/standard/config/block.block.bartik.footer.yml +++ b/core/profiles/standard/config/block.block.bartik.footer.yml @@ -4,6 +4,7 @@ status: '1' settings: cache: '-1' label: 'Footer menu' +uuid: a6c75fc2-5ca1-403e-ab37-557c7244e8c0 visibility: path: visibility: '0' diff --git a/core/profiles/standard/config/block.block.bartik.help.yml b/core/profiles/standard/config/block.block.bartik.help.yml index 84395a6..55b9391 100644 --- a/core/profiles/standard/config/block.block.bartik.help.yml +++ b/core/profiles/standard/config/block.block.bartik.help.yml @@ -1,5 +1,6 @@ id: bartik.help plugin: system_help_block +uuid: 6ea8e05a-6793-4ecf-8801-015dc6e1013e status: '1' settings: cache: '-1' diff --git a/core/profiles/standard/config/block.block.bartik.login.yml b/core/profiles/standard/config/block.block.bartik.login.yml index aac6997..33fcf6b 100644 --- a/core/profiles/standard/config/block.block.bartik.login.yml +++ b/core/profiles/standard/config/block.block.bartik.login.yml @@ -1,5 +1,6 @@ id: bartik.login whois_new_count: '5' +uuid: 961f4152-3e91-4c9f-9114-20a5375675d0 status: '1' settings: cache: '-1' diff --git a/core/profiles/standard/config/block.block.bartik.powered.yml b/core/profiles/standard/config/block.block.bartik.powered.yml index 48424f8..65ce340 100644 --- a/core/profiles/standard/config/block.block.bartik.powered.yml +++ b/core/profiles/standard/config/block.block.bartik.powered.yml @@ -1,5 +1,6 @@ id: bartik.powered plugin: system_powered_by_block +uuid: 37cff101-27dc-478d-9d00-b58b9d884039 status: '1' settings: cache: '-1' diff --git a/core/profiles/standard/config/block.block.bartik.search.yml b/core/profiles/standard/config/block.block.bartik.search.yml index bcf0249..e2296ad 100644 --- a/core/profiles/standard/config/block.block.bartik.search.yml +++ b/core/profiles/standard/config/block.block.bartik.search.yml @@ -1,5 +1,6 @@ id: bartik.search plugin: search_form_block +uuid: 51f70058-a370-4410-9000-a65488d00e6c status: '1' settings: cache: '-1' diff --git a/core/profiles/standard/config/block.block.bartik.tools.yml b/core/profiles/standard/config/block.block.bartik.tools.yml index 56c8ba4..0193dcf 100644 --- a/core/profiles/standard/config/block.block.bartik.tools.yml +++ b/core/profiles/standard/config/block.block.bartik.tools.yml @@ -1,5 +1,6 @@ id: bartik.tools plugin: 'system_menu_block:menu-tools' +uuid: 0dca3209-c6fa-4043-a407-7afb952cfc5e status: '1' settings: cache: '-1' diff --git a/core/profiles/standard/config/block.block.seven.content.yml b/core/profiles/standard/config/block.block.seven.content.yml index f14f147..dbfba3c 100644 --- a/core/profiles/standard/config/block.block.seven.content.yml +++ b/core/profiles/standard/config/block.block.seven.content.yml @@ -1,5 +1,6 @@ id: seven.content plugin: system_main_block +uuid: 3c9e3337-e0f4-42c3-8a00-f1d8be09b0ea status: '1' settings: cache: '-1' diff --git a/core/profiles/standard/config/block.block.seven.help.yml b/core/profiles/standard/config/block.block.seven.help.yml index 075f518..7f7d102 100644 --- a/core/profiles/standard/config/block.block.seven.help.yml +++ b/core/profiles/standard/config/block.block.seven.help.yml @@ -1,5 +1,6 @@ id: seven.help plugin: system_help_block +uuid: 367d09b7-9638-4faf-bf07-7fe31b2226a0 status: '1' settings: cache: '-1' diff --git a/core/profiles/standard/config/block.block.seven.login.yml b/core/profiles/standard/config/block.block.seven.login.yml index f0fb2b2..3eb29fa 100644 --- a/core/profiles/standard/config/block.block.seven.login.yml +++ b/core/profiles/standard/config/block.block.seven.login.yml @@ -1,5 +1,6 @@ id: seven.login plugin: user_login_block +uuid: 10a9888b-2247-408d-9702-2c0cc9cacba2 status: '1' settings: cache: '-1' diff --git a/core/profiles/standard/config/filter.format.basic_html.yml b/core/profiles/standard/config/filter.format.basic_html.yml index e97db8d..e960e36 100644 --- a/core/profiles/standard/config/filter.format.basic_html.yml +++ b/core/profiles/standard/config/filter.format.basic_html.yml @@ -1,6 +1,7 @@ format: basic_html name: 'Basic HTML' status: '1' +uuid: c4b4acfb-5731-47ad-b500-dbaffaa37647 weight: '0' roles: - authenticated diff --git a/core/profiles/standard/config/filter.format.full_html.yml b/core/profiles/standard/config/filter.format.full_html.yml index 89b232b..e2c3625 100644 --- a/core/profiles/standard/config/filter.format.full_html.yml +++ b/core/profiles/standard/config/filter.format.full_html.yml @@ -1,6 +1,7 @@ format: full_html name: 'Full HTML' status: '1' +uuid: 3d5d6be5-ac96-4a1b-bc00-c8725edead3c weight: '1' roles: - administrator diff --git a/core/profiles/standard/config/filter.format.restricted_html.yml b/core/profiles/standard/config/filter.format.restricted_html.yml index 2e14ce2..0e16816 100644 --- a/core/profiles/standard/config/filter.format.restricted_html.yml +++ b/core/profiles/standard/config/filter.format.restricted_html.yml @@ -1,6 +1,7 @@ format: restricted_html name: 'Restricted HTML' status: '1' +uuid: 5bbb3d96-1278-4390-8200-ed08941c4a8f weight: '0' roles: - anonymous diff --git a/core/profiles/standard/config/user.role.administrator.yml b/core/profiles/standard/config/user.role.administrator.yml index 282e88c..8896227 100644 --- a/core/profiles/standard/config/user.role.administrator.yml +++ b/core/profiles/standard/config/user.role.administrator.yml @@ -1,4 +1,5 @@ id: administrator +uuid: b8474e77-6317-4e8b-9922-344eea1358d1 label: Administrator weight: 2 langcode: en