You are here

function hosting_site_nodeapi_site_presave in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 site/hosting_site.nodeapi.inc \hosting_site_nodeapi_site_presave()
  2. 7.4 site/hosting_site.nodeapi.inc \hosting_site_nodeapi_site_presave()

Implements hook_nodeapi().

File

site/hosting_site.nodeapi.inc, line 234
Site nodeapi implementations.

Code

function hosting_site_nodeapi_site_presave(&$node) {
  $node->title = hosting_site_get_domain($node->title);
}