You are here

function activity_menu_load in Activity 6

Menu wildcard loader callback for activity contrib module activity settings.

File

./activity.module, line 120
activity.module

Code

function activity_menu_load($module) {
  if ($activity_info = activity_get_info()) {
    if ($activity_info[$module]) {
      return $module;
    }
    else {
      return FALSE;
    }
  }
  return FALSE;
}