reverted: --- b/core/modules/node/lib/Drupal/node/Plugin/Search/NodeSearch.php +++ a/core/modules/node/lib/Drupal/node/Plugin/Search/NodeSearch.php @@ -404,6 +404,7 @@ ); // Add node types. + $node_types = $this->entityManager->getStorageController('node_type')->loadMultiple(); $types = array_map('check_plain', node_type_get_names()); $form['advanced']['types-fieldset'] = array( '#type' => 'fieldset', diff -u b/core/modules/node/lib/Drupal/node/Tests/NodeSaveTest.php b/core/modules/node/lib/Drupal/node/Tests/NodeSaveTest.php --- b/core/modules/node/lib/Drupal/node/Tests/NodeSaveTest.php +++ b/core/modules/node/lib/Drupal/node/Tests/NodeSaveTest.php @@ -89,12 +89,10 @@ // Store the timestamps. $created = $node->getCreatedTime(); - $changed = $node->getChangedTime(); $node->save(); $node = $this->drupalGetNodeByTitle($edit['title'], TRUE); $this->assertEqual($node->getCreatedTime(), $created, 'Updating a node preserves "created" timestamp.'); - $this->assertNotEqual($node->getChangedTime(), $changed, 'Updating a node does not preserve "changed" timestamp.'); // Programmatically set the timestamps using hook_node_presave. $node->title = 'testing_node_presave';