You are here

function nodehierarchy_enable in Node Hierarchy 6

Same name and namespace in other branches
  1. 6.3 nodehierarchy.install \nodehierarchy_enable()
  2. 6.2 nodehierarchy.install \nodehierarchy_enable()
  3. 7.4 nodehierarchy.install \nodehierarchy_enable()
  4. 7.2 nodehierarchy.install \nodehierarchy_enable()

Implementation of hook_enable().

File

./nodehierarchy.install, line 14

Code

function nodehierarchy_enable() {

  // Insert records into the nodehierarchy for nodes that are missing.
  nodehierarchy_add_default_parents();
}