You are here

function spaces_contacts_user in Spaces 5.2

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

Implementation of hook_user()

File

spaces_contacts/spaces_contacts.module, line 92

Code

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