function spaces_contacts_context_define in Spaces 5
Same name and namespace in other branches
- 5.2 spaces_contacts/spaces_contacts.module \spaces_contacts_context_define()
Implementation of hook_context_define()
File
- spaces_contacts/
spaces_contacts.module, line 6
Code
function spaces_contacts_context_define() {
$items = array();
$items[] = array(
'namespace' => 'spaces',
'attribute' => 'feature',
'value' => 'contacts',
'block' => array(
array(
'module' => 'spaces_contacts',
'delta' => 'contact_list',
'region' => 'right',
'weight' => -11,
),
),
'menu' => array(
'contacts',
),
'spaces' => array(
'label' => t('Contacts'),
'description' => t('A contacts section with member listings.'),
'options' => array(
0 => t('Disabled'),
2 => t('Enabled'),
),
),
);
return $items;
}