Granular ISLE Customization
This post is part of a series describing Digital.Grinnell customizations to ISLE, in a “granular” format… one small customization at a time.
An index of all documents in this series is included at the end of Granular ISLE Customization: Series Guidelines.

Goal Statement

In this “granular” post I’ll introduce two customizations to IMI that implement and engage Drupal “hook” functions, namely:

  • hook_islandora_multi_importer_remote_file_get(), and
  • hook_form_islandora_multi_importer_form_alter().

Drupal 7 Hooks

See Understanding the hook system for Drupal modules to better understand what Drupal v7 hook functions are, and how they work. If you would like additional assistance with “hooks” do not hesitate to contact the author of this post using [this email link](mailto:digital@grinnell.edu?subject=Implementing IMI Hooks).

My Implementation Details

Both of these hook implementations reside in my dg7 custom module, a module designed exclusively to hold custom code, mostly hook implementations, for Digital.Grinnell in Islandora v7.

hook_islandora_multi_importer_remote_file_get

The code I’ve built for this hook implementation can be seen in this gist.

hook_form_islandora_multi_importer_form_alter

The code I’ve built for this hook implementation can be seen in this gist.

And that’s a wrap. Until next time…