function user_picture_enabled

Returns whether this site supports the default user picture feature.

This approach preserves compatibility with node/comment templates. Alternate user picture implementations (e.g., Gravatar) should provide their own add/edit/delete forms and populate the 'picture' variable during the preprocess stage.

1 call to user_picture_enabled()
system_theme_settings in drupal/core/modules/system/system.admin.inc
Form builder; display theme configuration for entire site and individual themes.

File

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

Code

function user_picture_enabled() {
  return (bool) field_info_instance('user', 'user_picture', 'user');
}