You are here

function globallink_menu_get_info in GlobalLink Connect for Drupal 7.7

1 call to globallink_menu_get_info()
globallink_menu_send_for_translations in globallink_menu/globallink_menu.inc
Sends menus for translation.

File

globallink_menu/globallink_menu.inc, line 493

Code

function globallink_menu_get_info($mlid) {
  $results = db_select('menu_links', 'ml')
    ->fields('ml')
    ->condition('mlid', $mlid, '=')
    ->execute();
  $arr = new stdClass();
  foreach ($results as $result) {
    $arr = $result;
  }
  return $arr;
}