function clone_is_permitted in Node clone 5.2
Same name and namespace in other branches
- 5 clone.module \clone_is_permitted()
- 6 clone.module \clone_is_permitted()
- 7 clone.module \clone_is_permitted()
2 calls to clone_is_permitted()
- clone_access_cloning in ./
clone.module - clone_node in ./
clone.module - Clones a node - prepopulate a node editing form
File
- ./
clone.module, line 73
Code
function clone_is_permitted($type) {
$omitted = variable_get('clone_omitted', array());
return empty($omitted[$type]);
}