hook_node_type_insert

Versions
7
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

Code

modules/node/node.api.php, line 731

<?php
function hook_node_type_insert($info) {
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.