You are here

function og_is_omitted_type in Organic groups 5.2

Same name and namespace in other branches
  1. 5.8 og.module \og_is_omitted_type()
  2. 5 og.module \og_is_omitted_type()
  3. 5.3 og.module \og_is_omitted_type()
  4. 5.7 og.module \og_is_omitted_type()
  5. 6.2 og.module \og_is_omitted_type()
  6. 6 og.module \og_is_omitted_type()
3 calls to og_is_omitted_type()
og_nodeapi in ./og.module
Implementation of hook_nodeapi().
og_node_access_records in ./og.module
og_save_ancestry in ./og.module

File

./og.module, line 2016

Code

function og_is_omitted_type($type) {
  return in_array($type, variable_get('og_omitted', array()));
}