You are here

function clone_is_permitted in Node clone 5

Same name and namespace in other branches
  1. 5.2 clone.module \clone_is_permitted()
  2. 6 clone.module \clone_is_permitted()
  3. 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

File

./clone.module, line 73

Code

function clone_is_permitted($type) {
  $omitted = variable_get('clone_omitted', array());
  return empty($omitted[$type]);
}