function bueditor_plus_profile_load in BUEditor Plus 7
Same name and namespace in other branches
- 7.2 bueditor_plus.module \bueditor_plus_profile_load()
Loads a specific profile. Used in menu %bueditor_plus_profile
Parameters
int $pid: The profile id to load
Return value
object The $pid profile object if found, otherwise false.
File
- ./
bueditor_plus.module, line 259 - Overrides default BUEditor textarea settling and implements controls based upon text formats.
Code
function bueditor_plus_profile_load($pid) {
// We don't want to return the global pid on menu callbacks.
if ($pid == 'global') {
return FALSE;
}
return bueditor_plus_profiles($pid);
}