You are here

function fieldgroup_tablename in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 6.3 modules/fieldgroup/fieldgroup.module \fieldgroup_tablename()
  2. 6 modules/fieldgroup/fieldgroup.module \fieldgroup_tablename()
5 calls to fieldgroup_tablename()
fieldgroup_delete in modules/fieldgroup/fieldgroup.module
fieldgroup_field_overview_form_submit in modules/fieldgroup/fieldgroup.module
fieldgroup_groups in modules/fieldgroup/fieldgroup.module
Returns all groups for a content type
fieldgroup_node_type in modules/fieldgroup/fieldgroup.module
Implementation of hook_node_type() React to change in node types
fieldgroup_save_group in modules/fieldgroup/fieldgroup.module

File

modules/fieldgroup/fieldgroup.module, line 774
Create field groups for CCK fields.

Code

function fieldgroup_tablename($version = NULL) {
  if (is_null($version)) {
    $version = variable_get('fieldgroup_schema_version', 0);
  }
  return $version < 6000 ? 'node_group' : 'content_group';
}