function ctools_page_actions_content_type_render

Output function for the 'page_actions' content type.

Outputs the actions (local tasks) of the current page.

File

plugins/content_types/page/page_actions.inc, line 27

Code

function ctools_page_actions_content_type_render($subtype, $conf, $panel_args) {
    $block = new stdClass();
    $block->content = theme('ctools_menu_local_actions_wrapper', array(
        'links' => menu_local_actions(),
    ));
    return $block;
}