You are here

function regions_api_install in Country codes API 6

Implementation of hook_install().

File

contrib/regions_api/regions_api.install, line 48
Install file for Regions API.

Code

function regions_api_install() {

  // Create tables.
  drupal_install_schema('regions_api');

  //Include country module include for initial data import
  require_once dirname(__FILE__) . '/regions_api.module';
  regions_api_csv_import_regions();
}