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;
}
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.