You are here

function imagefield_crop_init in Imagefield Crop 6

Implementation of hook_init().

Load required includes and css files.

File

./imagefield_crop.module, line 13

Code

function imagefield_crop_init() {

  // field_file hooks and callbacks.
  module_load_include('inc', 'imagefield_crop', 'imagefield_crop_file');
  module_load_include('inc', 'imagefield_crop', 'imagefield_crop_widget');

  //  drupal_add_css(drupal_get_path('module', 'imagefield_crop') .'/imagefield_crop.css');
}