function hosting_alias_node_insert

7.x-3.x hosting_alias.module hosting_alias_node_insert($node)

Implements hook_node_insert().

File

alias/hosting_alias.module, line 318
Allow sites to have domain aliases that they can be accessed with.

Code

function hosting_alias_node_insert($node) {
  if ($node->type == 'site') {
    hosting_alias_insert($node);
  }
}