2002-12-24 15:40:32 +00:00
< ? php
2003-12-27 21:29:20 +00:00
2004-07-22 16:06:54 +00:00
/**
* @ file
* API for the Drupal menu system .
*/
2003-12-17 22:15:35 +00:00
/**
2015-01-22 19:24:44 +00:00
* @ addtogroup menu
2003-12-17 22:15:35 +00:00
* @ {
*/
2007-07-25 14:44:03 +00:00
/**
2012-08-31 15:56:36 +00:00
* Returns an array containing the names of system - defined ( default ) menus .
2021-06-30 20:03:21 +00:00
*
* @ deprecated in drupal : 9.3 . 0 and is removed from drupal : 10.0 . 0. Use
* \Drupal\system\Entity\Menu :: loadMultiple () instead .
*
* @ see https :// www . drupal . org / node / 3027453
2007-07-25 14:44:03 +00:00
*/
function menu_list_system_menus () {
2021-06-30 20:03:21 +00:00
@ trigger_error ( __FUNCTION__ . '() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\system\Entity\Menu::loadMultiple() instead. See https://www.drupal.org/node/3027453' , E_USER_DEPRECATED );
2017-03-04 01:20:24 +00:00
return [
2012-10-25 15:53:18 +00:00
'tools' => 'Tools' ,
'admin' => 'Administration' ,
'account' => 'User account menu' ,
'main' => 'Main navigation' ,
2012-11-20 11:36:51 +00:00
'footer' => 'Footer menu' ,
2017-03-04 01:20:24 +00:00
];
2007-07-25 14:44:03 +00:00
}
2008-01-28 16:05:17 +00:00
/**
2015-01-22 19:24:44 +00:00
* @ } End of " addtogroup menu " .
2008-01-28 16:05:17 +00:00
*/