function spaces_casetracker_context_define in Spaces 5
Same name and namespace in other branches
- 5.2 spaces_casetracker/spaces_casetracker.module \spaces_casetracker_context_define()
hook_context_define()
File
- spaces_casetracker/
spaces_casetracker.module, line 135
Code
function spaces_casetracker_context_define() {
$items = array();
$items[] = array(
'namespace' => 'spaces',
'attribute' => 'feature',
'value' => 'casetracker',
'node' => array(
'casetracker_basic_case',
'casetracker_basic_project',
),
'views' => _spaces_casetracker_views(),
'block' => array(
array(
'module' => 'views',
'delta' => 'spaces_cases_myblock',
'region' => 'right',
'weight' => -11,
),
),
'menu' => array(
'cases',
),
'spaces' => array(
'label' => t('Casetracker'),
'description' => t('A casetracker for managing projects.'),
'options' => _spaces_group_options(),
),
);
return $items;
}