You are here

function panels_panel_context_tab_operation in Panels 7.3

Same name and namespace in other branches
  1. 6.3 plugins/task_handlers/panel_context.inc \panels_panel_context_tab_operation()

Provide the operation trail for the 'Edit panel' link.

When editing the panel, go directly to the content tab.

1 string reference to 'panels_panel_context_tab_operation'
panel_context.inc in plugins/task_handlers/panel_context.inc
This is the task handler plugin to handle attaching a panel to any task that advertises itself as a 'context' type, which all of the basic page tasks provided by page_manager.module do by default.

File

plugins/task_handlers/panel_context.inc, line 201
This is the task handler plugin to handle attaching a panel to any task that advertises itself as a 'context' type, which all of the basic page tasks provided by page_manager.module do by default.

Code

function panels_panel_context_tab_operation($handler, $contexts, $args) {
  return array(
    'handlers',
    $handler->name,
    'content',
  );
}