You are here

pcp.install in Profile Complete Percent 6

Same filename and directory in other branches
  1. 5 pcp.install
  2. 6.2 pcp.install
  3. 7 pcp.install

Install file for the profile.module

File

pcp.install
View source
<?php

/**
 * @file
 * Install file for the profile.module
 */

/**
* Implementation of hook_install().
*/
function pcp_install() {
  drupal_install_schema('pcp');
}

/**
 * Implementation of hook_schema()
 */
function pcp_schema() {
  $schema['profile_pcp'] = array(
    'fields' => array(
      'fid' => array(
        'type' => 'int',
        'not null' => TRUE,
      ),
    ),
  );
  return $schema;
}
function pcp_uninstall() {
  drupal_uninstall_schema('pcp');
}

Functions

Namesort descending Description
pcp_install Implementation of hook_install().
pcp_schema Implementation of hook_schema()
pcp_uninstall