You are here

function hosting_site_nodeapi_site_presave in Hostmaster (Aegir) 6

Implementation of hook_nodeapi().

File

modules/hosting/site/hosting_site.nodeapi.inc, line 134
Site nodeapi implementations.

Code

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

  // domain names are case-insensitive
}