You are here

function custompage_context_conditions in Custom Page 7

Same name and namespace in other branches
  1. 6 custompage.context.inc \custompage_context_conditions()

Implementation of hook_context_conditions().

File

./custompage.context.inc, line 6

Code

function custompage_context_conditions() {
  $items = array();
  $items['custompage'] = array(
    '#title' => t('CustomPage'),
    '#description' => t('Set this context when displaying one of following customapges.'),
    '#options' => _custompage_context_get_custompages(),
    '#type' => 'checkboxes',
  );
  return $items;
}