diff --git a/core/modules/node/node.post_update.php b/core/modules/node/node.post_update.php index 8e296c4ddf..43e3cd6acc 100644 --- a/core/modules/node/node.post_update.php +++ b/core/modules/node/node.post_update.php @@ -10,7 +10,7 @@ /** * Load all form displays for nodes, add status with these settings, save. */ -function node_post_update_add_status() { +function node_post_update_configure_status_field_widget() { $query = \Drupal::entityQuery('entity_form_display')->condition('targetEntityType', 'node'); $ids = $query->execute(); $form_displays = EntityFormDisplay::loadMultiple($ids); diff --git a/core/modules/node/src/Tests/Update/NodeUpdateTest.php b/core/modules/node/src/Tests/Update/NodeUpdateTest.php index 141c714850..b193ea8d21 100644 --- a/core/modules/node/src/Tests/Update/NodeUpdateTest.php +++ b/core/modules/node/src/Tests/Update/NodeUpdateTest.php @@ -42,7 +42,7 @@ public function testPublishedEntityKey() { /** * Tests that the node entity form has the status checkbox. * - * @see node_post_update_add_status() + * @see node_post_update_configure_status_field_widget() */ public function testStatusCheckbox() { // Run updates.