You are here

function gathercontent_install in GatherContent 7.3

Same name and namespace in other branches
  1. 8.5 gathercontent.install \gathercontent_install()
  2. 8 gathercontent.install \gathercontent_install()
  3. 8.3 gathercontent.install \gathercontent_install()
  4. 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();
}