You are here

function emfield_install in Embedded Media Field 6.2

Same name and namespace in other branches
  1. 6.3 emfield.install \emfield_install()
  2. 6 emfield.install \emfield_install()
  3. 7 emfield.install \emfield_install()

Implementation of hook_install().

File

./emfield.install, line 11
This is the emfield.module's install, configuration, and removal file.

Code

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