Skip navigation
Help

hook_node_type_insert

7 node.api.php hook_node_type_insert($info)

Respond to node type creation.

This hook is invoked from node_type_save() after the node type is added to the database.

Parameters

$info: The node type object that is being created.

Related topics

2 functions implement hook_node_type_insert()

1 invocation of hook_node_type_insert()

File

drupal/modules/node/node.api.php, line 975
Hooks provided by the Node module.

Code

function hook_node_type_insert($info) { }