You are here

function content_theme in Content Construction Kit (CCK) 6.2

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

Implementation of hook_theme().

File

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

Code

function content_theme() {
  $path = drupal_get_path('module', 'content') . '/theme';
  module_load_include('inc', 'content', 'theme/theme');
  return array(
    'content_field' => array(
      'template' => 'content-field',
      'arguments' => array(
        'element' => NULL,
      ),
      'path' => $path,
    ),
    'content_overview_links' => array(
      'arguments' => array(),
    ),
    'content_field_overview_form' => array(
      'template' => 'content-admin-field-overview-form',
      'file' => 'theme.inc',
      'path' => $path,
      'arguments' => array(
        'form' => NULL,
      ),
    ),
    'content_display_overview_form' => array(
      'template' => 'content-admin-display-overview-form',
      'file' => 'theme.inc',
      'path' => $path,
      'arguments' => array(
        'form' => NULL,
      ),
    ),
    'content_exclude' => array(
      'arguments' => array(
        'content' => NULL,
        'object' => array(),
        'context' => NULL,
      ),
    ),
    'content_view_multiple_field' => array(
      'arguments' => array(
        'items' => NULL,
        'field' => NULL,
        'data' => NULL,
      ),
    ),
    'content_multiple_values' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
  );
}