function theme_menu_local_action


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/
cis7 theme_menu_local_action($variables)
cle7 theme_menu_local_action($variables)
elmsmedia7 theme_menu_local_action($variables)
icor7 theme_menu_local_action($variables)
meedjum_blog7 theme_menu_local_action($variables)
mooc7 theme_menu_local_action($variables)

Returns HTML for a single local action link.


$variables: An associative array containing:

  • element: A render element containing:

    • #link: A menu link array with 'title', 'href', and 'localized_options' keys.

Related topics

9 string references to the theme hook from theme_menu_local_action()

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.

blog_menu_local_tasks_alter in modules/blog/blog.module
Implements hook_menu_local_tasks_alter().
drupal_common_theme in includes/
Provides theme registration for themes across .inc files.
file_entity_menu_local_tasks_alter in sites/all/modules/ulmus/file_entity/file_entity.module
Implements hook_menu_local_tasks_alter().
forum_menu_local_tasks_alter in modules/forum/forum.module
Implements hook_menu_local_tasks_alter().
MediaEntityTranslationHandler::entityForm in sites/all/modules/ulmus/media/includes/
Entity form handler.

... See full list


includes/, line 1679
API for the Drupal menu system.


function theme_menu_local_action($variables) {
  $link = $variables['element']['#link'];

  $output = '<li>';
  if (isset($link['href'])) {
    $output .= l($link['title'], $link['href'], isset($link['localized_options']) ? $link['localized_options'] : array());
  elseif (!empty($link['localized_options']['html'])) {
    $output .= $link['title'];
  else {
    $output .= check_plain($link['title']);
  $output .= "</li>\n";

  return $output;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.