You are here

function fc_install in Field Complete 7

Implements hook_install().

File

./fc.install, line 10
Field Complete - Provides field-based completeness for any entity - install.

Code

function fc_install() {

  // Set the default entity types
  variable_set('fc_entity_types', array(
    'node' => 'node',
    'user' => 'user',
  ));
  $args = array(
    '!href' => url('admin/config/content/fc/rebuild'),
  );
  drupal_set_message(t('You should now run the <a href="!href">Field Complete rebuild function</a>.', $args), 'warning');
}