function user_image_style_save

Implements hook_image_style_save().

1 call to user_image_style_save()
user_image_style_delete in modules/user/user.module
Implements hook_image_style_delete().

File

modules/user/user.module, line 3756

Code

function user_image_style_save($style) {
    // If a style is renamed, update the variables that use it.
    if (isset($style['old_name']) && $style['old_name'] == variable_get('user_picture_style', '')) {
        variable_set('user_picture_style', $style['name']);
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.