function availability_calendars_menu_callback in Availability Calendars 6
Same name and namespace in other branches
- 5 availability_calendars.module \availability_calendars_menu_callback()
Create tab to show node availability.
Return value
string or FALSE
File
- ./
availability_calendars.module, line 157 - Availability Calendars Module.
Code
function availability_calendars_menu_callback() {
$node = menu_get_object();
if (availability_calendars_getsettings('nodetype', $node->type)) {
return theme('availability_calendars_node', $node);
}
else {
return FALSE;
}
}