You are here

public static function UserCompleteProfileController::isFieldEmpty in Complete profile 7

1 call to UserCompleteProfileController::isFieldEmpty()
UserCompleteProfileController::getFieldsForm in includes/UserCompleteProfileController.php
This is essentially a duplicate of user_profile_form().

File

includes/UserCompleteProfileController.php, line 5

Class

UserCompleteProfileController

Code

public static function isFieldEmpty($account, $field_name) {
  if ($field = field_info_field($field_name)) {
    return EntityCompleteProfileController::isFieldEmpty('user', $account, $field);
  }
}