1 user.module user_image_style_save($style)

Implements hook_image_style_save().

File

core/modules/user/user.module, line 3082
Enables the user registration and login system.

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'] == config_get('system.core', 'user_picture_style')) {
    config_set('system.core', 'user_picture_style', $style['name']);
  }
}