function profanity_list_load in Profanity 7
Load a single list.
Parameters
string $pid: The list identifier.
1 call to profanity_list_load()
- profanity_list_execute in ./
profanity.module - Helper function for use in replacing or validating.
File
- ./
profanity.module, line 79 - Main {profanity} file.
Code
function profanity_list_load($pid) {
ctools_include('export');
$result = ctools_export_load_object('profanity_list', 'names', array(
$pid,
));
if (isset($result[$pid])) {
return $result[$pid];
}
}