You are here

function panels_panel_node_view_get_context in Panels 6.2

Get empty contexts for use with the delegator panels pages.

1 string reference to 'panels_panel_node_view_get_context'
panels_panel_node_view_delegator_task_handlers in plugins/task_handlers/panel_node_view.inc

File

plugins/task_handlers/panel_node_view.inc, line 157

Code

function panels_panel_node_view_get_context() {
  $context = panels_context_create_empty('node');
  $context->identifier = t('Node being viewed');
  $context->keyword = 'node';
  return array(
    'panel-node' => $context,
  );
}