function gathercontent_install in GatherContent 7.3
Same name and namespace in other branches
- 8.5 gathercontent.install \gathercontent_install()
- 8 gathercontent.install \gathercontent_install()
- 8.3 gathercontent.install \gathercontent_install()
- 8.4 gathercontent.install \gathercontent_install()
Implements hook_install().
File
- ./
gathercontent.install, line 14
Code
function gathercontent_install() {
db_add_field('node', 'gathercontent_mapping_id', array(
'definition' => 'The ID of GatherContent mapping.',
'type' => 'int',
'unsigned' => TRUE,
));
db_add_field('node', 'gathercontent_id', array(
'definition' => 'The ID of content in GatherContent.',
'type' => 'int',
'unsigned' => TRUE,
));
db_add_field('node', 'gathercontent_import_status', array(
'definition' => 'The ID of content in GatherContent.',
'type' => 'text',
));
db_add_field('file_managed', 'gathercontent_id', array(
'definition' => 'The ID of file in GatherContent.',
'type' => 'int',
'unsigned' => TRUE,
));
_gathercontent_create_text_formats();
}