Full ELMS Learning Network documentation
function ctools_page_actions_content_type_render
cis7 page_actions.inc | ctools_page_actions_content_type_render($subtype, $conf, $panel_args) |
cle7 page_actions.inc | ctools_page_actions_content_type_render($subtype, $conf, $panel_args) |
elmsmedia7 page_actions.inc | ctools_page_actions_content_type_render($subtype, $conf, $panel_args) |
icor7 page_actions.inc | ctools_page_actions_content_type_render($subtype, $conf, $panel_args) |
meedjum_blog7 page_actions.inc | ctools_page_actions_content_type_render($subtype, $conf, $panel_args) |
mooc7 page_actions.inc | ctools_page_actions_content_type_render($subtype, $conf, $panel_args) |
Output function for the 'page_actions' content type.
Outputs the actions (local tasks) of the current page.
File
- sites/
all/ modules/ ulmus/ ctools/ plugins/ content_types/ page/ page_actions.inc, line 27 - Plugin to handle the 'page_actions' content type which allows the local actions template variables to be embedded into a panel.
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;
}