You are here

function spaces_contacts_user in Spaces 5

Same name and namespace in other branches
  1. 5.2 spaces_contacts/spaces_contacts.module \spaces_contacts_user()

Implementation of hook_user()

File

spaces_contacts/spaces_contacts.module, line 90

Code

function spaces_contacts_user($op, &$edit, &$account, $category = NULL) {
  if (in_array($op, array(
    'view',
    'form',
  )) && spaces_gid()) {
    context_set('spaces', 'feature', 'contacts');
  }
}