config['allow_avatar_remote']) { return array( 'src' => $user_row['user_avatar'], 'width' => $user_row['user_avatar_width'], 'height' => $user_row['user_avatar_height'], ); } else { return array( 'src' => '', 'width' => 0, 'height' => 0, ); } } /** * @inheritdoc */ public function handle_form($template, &$error = array(), $submitted = false) { if ($submitted) { $error[] = 'TODO'; return ''; } else { return true; } } }