function mediafront_user_mediafront_settings_alter in MediaFront 7.2
Implements hook_mediafront_settings_alter().
Parameters
$settings:
File
- modules/
mediafront_user/ mediafront_user.module, line 69
Code
function mediafront_user_mediafront_settings_alter(&$settings) {
global $user;
// Ater the information saved by this user.
if (isset($user->data['mediafront'])) {
$settings = array_merge($settings, $user->data['mediafront']);
}
}