You are here

function panels_everywhere_site_template_add_context in Panels Everywhere 6

Same name and namespace in other branches
  1. 7 plugins/tasks/site_template.inc \panels_everywhere_site_template_add_context()

Set up a context with the basic information needed.

1 call to panels_everywhere_site_template_add_context()
panels_everywhere_site_template_get_base_contexts in plugins/tasks/site_template.inc
Figure out the base contexts in use for the page.

File

plugins/tasks/site_template.inc, line 174

Code

function panels_everywhere_site_template_add_context(&$contexts, &$context, $identifier, $keyword, $id) {
  $context->page_title = '';
  $context->identifier = $identifier;
  $context->keyword = $keyword;
  $context->id = $id;
  $contexts[$id] = $context;
}