function auto_nodetitle_node_import_static in Node import 5
Implementation of hook_node_import_static().
File
- supported/
auto_nodetitle.inc, line 39 - Support for the auto_nodetitle module.
Code
function auto_nodetitle_node_import_static($type) {
$setting = auto_nodetitle_get_setting($type);
if ($setting == AUTO_NODETITLE_ENABLED || $setting == AUTO_NODETITLE_OPTIONAL) {
$title = md5(rand());
return array(
'title' => $title,
'auto_nodetitle' => $title,
);
}
}