function ajax_ui_types_node in Ajax 6
Get node types
Return value
Assoc
1 call to ajax_ui_types_node()
- ajax_ui_get_types in ajax_ui/
ajax_ui.module - Get content types
File
- ajax_ui/
ajax_ui.module, line 93
Code
function ajax_ui_types_node() {
$out = array();
$types = node_get_types();
foreach ($types as $k => $v) {
$out[$k . '_node_form'] = ucwords('Content Type: ' . $v->name);
}
return $out;
}