You are here

function menu_custom_features_export_options in Features 6

Same name and namespace in other branches
  1. 7.2 includes/features.menu.inc \menu_custom_features_export_options()
  2. 7 includes/features.menu.inc \menu_custom_features_export_options()

Implementation of hook_features_export_options().

File

includes/features.menu.inc, line 46

Code

function menu_custom_features_export_options() {
  $options = array();
  $result = db_query("SELECT * FROM {menu_custom}");
  while ($row = db_fetch_array($result)) {
    $options[$row['menu_name']] = $row['title'];
  }
  return $options;
}