You are here

function hosting_site_nodeapi_site_presave in Hosting 6.2

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

Implementation of hook_nodeapi().

File

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

Code

function hosting_site_nodeapi_site_presave(&$node) {
  $node->title = strtolower(trim($node->title));

  // domain names are case-insensitive
}