You are here

function node_uninstall in Drupal 8

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

Implements hook_uninstall().

File

core/modules/node/node.install, line 153
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');
}