You are here

function filefield_init in FileField 6.3

Implementation of hook_init().

File

./filefield.module, line 18
FileField: Defines a CCK file field type.

Code

function filefield_init() {

  // File hooks and callbacks may be used by any module.
  drupal_add_css(drupal_get_path('module', 'filefield') . '/filefield.css');

  // Conditional module support.
  if (module_exists('token')) {
    module_load_include('inc', 'filefield', 'filefield.token');
  }
}