You are here

function content_init in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 5 content.module \content_init()
  2. 6.3 content.module \content_init()
  3. 6 content.module \content_init()

Implementation of hook_init().

File

./content.module, line 50
Allows administrators to associate custom fields to content types.

Code

function content_init() {
  drupal_add_css(drupal_get_path('module', 'content') . '/theme/content-module.css');
  if (module_exists('diff') && !function_exists('content_diff')) {
    module_load_include('inc', 'content', 'includes/content.diff');
  }
}