hook_node_type_insert

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 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 975

<?php
function hook_node_type_insert($info) { }
?>