You are here

function spaces_contacts_context_define in Spaces 5.2

Same name and namespace in other branches
  1. 5 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,
      ),
    ),
    'spaces' => array(
      'label' => t('Contacts'),
      'description' => t('A contacts section with member listings.'),
      'types' => array(
        'og',
      ),
      'menu' => array(
        'contacts' => array(
          'title' => t('Contacts'),
        ),
      ),
    ),
  );
  return $items;
}