function og_activity_in_group_column in Heartbeat 6.4
Define a column definition for {heartbeat_activity}.in_group.
3 calls to og_activity_in_group_column()
- og_activity_install in modules/
og_activity/ og_activity.install - Implementation of hook_install().
- og_activity_schema_alter in modules/
og_activity/ og_activity.install - Implementation of hook_schema_alter().
- og_activity_update_6400 in modules/
og_activity/ og_activity.install - Set 'in_group' for existing activity records.
File
- modules/
og_activity/ og_activity.install, line 11 - Installation file for organic group activity
Code
function og_activity_in_group_column() {
return array(
'type' => 'int',
'not null' => TRUE,
'size' => 'tiny',
'description' => t('Custom message type.'),
'default' => 0,
);
}