You are here

function countries_api_install in Country codes API 6

Same name and namespace in other branches
  1. 5 countries_api.install \countries_api_install()

Implementation of hook_install().

File

./countries_api.install, line 55
Install file for Countries API.

Code

function countries_api_install() {

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

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