You are here

function validateUUID in Bynder 7

File

includes/bynder.utils.inc, line 137
utility functions for the bynder module

Code

function validateUUID($str) {
  if (isValid("uuid", $str)) {
    return $str;
  }
  else {
    error_log("Invalid UUID: " . $str);
    return false;
  }
}