public function Drupal7Backend::menu_getIdentifiers in Configuration Management 7.3
Overrides BackendInterface::menu_getIdentifiers
File
- src/
Backends/ Drupal7Backend.php, line 244
Class
Namespace
Configuration\BackendsCode
public function menu_getIdentifiers() {
$menus = db_query("SELECT menu_name, title FROM {menu_custom}")
->fetchAll();
$identifiers = array();
foreach ($menus as $menu) {
$identifiers[str_replace('-', '_', $menu->menu_name)] = $menu->title;
}
return $identifiers;
}