You are here

function diff_theme in Diff 7.3

Same name and namespace in other branches
  1. 6.2 diff.module \diff_theme()
  2. 6 diff.module \diff_theme()
  3. 7.2 diff.module \diff_theme()

Implements hook_theme().

6 string references to 'diff_theme'
diff_admin_settings in ./diff.admin.inc
General configuration form for controlling the diff behaviour.
diff_build_attachments in ./diff.module
Helper function to load any CSS or JScript files required by a page or form.
diff_entity_body_rows in ./diff.pages.inc
Creates an array of rows which represent the difference between two entities.
diff_uninstall in ./diff.install
Implements hook_uninstall().
theme_diff_inline_form in ./diff.theme.inc
Theme function for inline diff form.

... See full list

File

./diff.module, line 516
Provides functionality to show a diff between two node revisions.

Code

function diff_theme() {
  return array(
    'diff_node_revisions' => array(
      'render element' => 'form',
      'file' => 'diff.theme.inc',
    ),
    'diff_header_line' => array(
      'arguments' => array(
        'lineno' => NULL,
      ),
      'file' => 'diff.theme.inc',
    ),
    'diff_content_line' => array(
      'arguments' => array(
        'line' => NULL,
      ),
      'file' => 'diff.theme.inc',
    ),
    'diff_empty_line' => array(
      'arguments' => array(
        'line' => NULL,
      ),
      'file' => 'diff.theme.inc',
    ),
    'diff_inline_form' => array(
      'render element' => 'form',
      'file' => 'diff.theme.inc',
    ),
    'diff_inline_metadata' => array(
      'arguments' => array(
        'node' => NULL,
      ),
      'file' => 'diff.theme.inc',
    ),
    'diff_inline_chunk' => array(
      'arguments' => array(
        'text' => '',
        'type' => NULL,
      ),
      'file' => 'diff.theme.inc',
    ),
  );
}