You are here

function og_is_omitted_type in Organic groups 5.7

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.2 og.module \og_is_omitted_type()
  4. 5.3 og.module \og_is_omitted_type()
  5. 6.2 og.module \og_is_omitted_type()
  6. 6 og.module \og_is_omitted_type()
2 calls to og_is_omitted_type()
og_access_node_access_records in ./og_access.module
Implementation of hook_node_access_records.
og_get_types in ./og.module

File

./og.module, line 2346

Code

function og_is_omitted_type($type) {
  return variable_get('og_content_type_usage_' . $type, 'omitted') == 'omitted' ? TRUE : FALSE;
}