You are here

function _ggroup_heritage in Group 7

Schema API definition for the heritage column.

Helper function for reuse of this database column.

3 calls to _ggroup_heritage()
ggroup_install in modules/ggroup/ggroup.install
Implements hook_install().
ggroup_schema_alter in modules/ggroup/ggroup.module
Implements hook_schema_alter().
ggroup_update_7004 in modules/ggroup/ggroup.install
Add the heritage column to {group_membership}.

File

modules/ggroup/ggroup.install, line 25
Install, update and uninstall functions for the Subgroup project.

Code

function _ggroup_heritage() {
  return array(
    'description' => 'Metadata about the state of an inherited membership.',
    'type' => 'text',
    'serialize' => TRUE,
  );
}