function node_modules_uninstalled

Same name in other branches
  1. 9 core/modules/node/node.module \node_modules_uninstalled()
  2. 8.9.x core/modules/node/node.module \node_modules_uninstalled()
  3. 10 core/modules/node/node.module \node_modules_uninstalled()
  4. 11.x core/modules/node/node.module \node_modules_uninstalled()

Implements hook_modules_uninstalled().

Cleanup {block_node_type} table from modules' blocks.

File

modules/node/node.module, line 2496

Code

function node_modules_uninstalled($modules) {
    db_delete('block_node_type')->condition('module', $modules, 'IN')
        ->execute();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.