You are here

function theme_ctools_menu_local_actions_wrapper in Chaos Tool Suite (ctools) 7

Render a menu local actions wrapper.

Parameters

$links: Local actions links.

$attributes: An array of attributes to append to the wrapper.

1 theme call to theme_ctools_menu_local_actions_wrapper()
ctools_page_actions_content_type_render in plugins/content_types/page/page_actions.inc
Output function for the 'page_actions' content type.

File

includes/action-links.theme.inc, line 26
Theme function for wrapping menu local actions.

Code

function theme_ctools_menu_local_actions_wrapper($variables) {
  $links = drupal_render($variables['links']);
  if (empty($links)) {
    return;
  }
  return '<ul class="action-links">' . $links . '</ul>';
}