function linkit_profile_exists in Linkit 7.2
Determines if a profile with a given name exists.
Parameters
$profile_name: The ID of the profile check.
Return value
TRUE if the profile exists, FALSE otherwise.
See also
File
- ./
linkit.module, line 647 - Main file for linkit module.
Code
function linkit_profile_exists($profile_name) {
$profile = linkit_profile_load($profile_name);
return is_object($profile);
}