function theme_menu_link

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 menu.inc theme_menu_link(array $variables)
cle7 menu.inc theme_menu_link(array $variables)
elmsmedia7 menu.inc theme_menu_link(array $variables)
icor7 menu.inc theme_menu_link(array $variables)
meedjum_blog7 menu.inc theme_menu_link(array $variables)
mooc7 menu.inc theme_menu_link(array $variables)

Returns HTML for a menu link and submenu.

Parameters

$variables: An associative array containing:

  • element: Structured array data for a menu link.

Related topics

1 theme call to theme_menu_link()
_regions_top_nav_system_path in sites/all/modules/elmsln_contrib/regions/modules/regions_top_nav/regions_top_nav.module
12 string references to the theme hook from theme_menu_link()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

color.inc in profiles/cis/themes/cis-theme/color/color.inc
color.inc in sites/all/themes/elmsln_contrib/chamfer/color/color.inc
drupal_common_theme in includes/common.inc
Provides theme registration for themes across .inc files.
menu_block_tree_output in sites/all/modules/local_contrib/menu_block/menu_block.module
Returns a rendered menu tree.
menu_block_tree_output in sites/all/modules/local_contrib/menu_block/menu_block.module
Returns a rendered menu tree.

... See full list

File

includes/menu.inc, line 1625
API for the Drupal menu system.

Code

function theme_menu_link(array $variables) {
  $element = $variables['element'];
  $sub_menu = '';

  if ($element['#below']) {
    $sub_menu = drupal_render($element['#below']);
  }
  $output = l($element['#title'], $element['#href'], $element['#localized_options']);
  return '<li' . drupal_attributes($element['#attributes']) . '>' . $output . $sub_menu . "</li>\n";
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.