You are here

function abt_form_user_profile_form_alter in Access By Term 7

Implements hook_form_FORM_ID_alter().

File

./abt.module, line 288
abt.module Module for controling access by using user->term<-node relationship.

Code

function abt_form_user_profile_form_alter(&$form, &$form_state, $form_id) {
  if (!user_access('allow edit abt field content in profile')) {
    $form = abt_remove_fields($form);
  }
}