You are here

function feeds_imagegrabber_install in Feeds Image Grabber 6

Implementation of hook_install().

File

./feeds_imagegrabber.install, line 66
Schema definitions install/update/uninstall hooks.

Code

function feeds_imagegrabber_install() {
  $path = drupal_get_path('module', 'feeds_imagegrabber') . '/url_to_absolute.php';
  if (!file_exists($path)) {
    drupal_set_message('<b>' . t("To use Feeds Image Grabber, obtain the !conversion package and copy url_to_absolute.php to the feeds_imagegrabber directory.", array(
      '!conversion' => l('UrlToAbsolute', 'http://sourceforge.net/projects/absoluteurl', array(
        'absolute' => TRUE,
      )),
    )) . '</b>');
  }
  drupal_install_schema('feeds_imagegrabber');
}