You are here

function node_uninstall in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/node/node.install \node_uninstall()
  2. 9 core/modules/node/node.install \node_uninstall()

Implements hook_uninstall().

File

core/modules/node/node.install, line 152
Install, update and uninstall functions for the node module.

Code

function node_uninstall() {

  // Delete remaining general module variables.
  \Drupal::state()
    ->delete('node.node_access_needs_rebuild');
}