You are here

function lexicon_user_presave in Lexicon 7

Implements hook_user_presave().

File

./lexicon.module, line 550
The Lexicon module is used to create lists of terms and definitions to use on a website and optionally mark those terms in the content of the website.

Code

function lexicon_user_presave(&$edit, $account, $category) {

  // Save the indicator setting when the user profile edit form is submitted.
  if (isset($edit['lexicon_disable_indicator'])) {
    $edit['data']['lexicon_disable_indicator'] = $edit['lexicon_disable_indicator'];
  }
}