You are here

function emapi_install in Embedded Media Field 6.3

Implementation of hook_install().

File

emapi/emapi.install, line 11
This is Embedded Media API's installation, configuration, and removal file.

Code

function emapi_install() {
  $success = drupal_install_schema('emapi');
  if ($success) {
    drupal_set_message(st('The Embedded Media API module installed tables successfully.'));
  }
  else {
    drupal_set_message(st('The installation of the Embedded Media API module failed.'), 'error');
  }
}