You are here

function menu_custom_configuration_export_options in Configuration Management 7

Implements hook_configuration_export_options().

1 call to menu_custom_configuration_export_options()
configuration_hash_menu_custom in includes/configuration.menu.inc

File

includes/configuration.menu.inc, line 46

Code

function menu_custom_configuration_export_options() {
  $options = array();
  $result = db_query("SELECT * FROM {menu_custom} ORDER BY title", array(), array(
    'fetch' => PDO::FETCH_ASSOC,
  ));
  foreach ($result as $menu) {
    $options[$menu['menu_name']] = $menu['title'];
  }
  return $options;
}