You are here

function diff_theme in Diff 6

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

Implementation of hook_theme().

File

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

Code

function diff_theme() {
  return array(
    'diff_node_revisions' => array(
      'arguments' => array(
        'form' => NULL,
      ),
    ),
    'diff_table' => array(
      'arguments' => array(
        'header' => NULL,
        'rows' => NULL,
        'attributes' => array(),
        'caption' => NULL,
        'cols' => array(),
      ),
    ),
    'diff_header_line' => array(
      'arguments' => array(
        'lineno' => NULL,
      ),
    ),
    'diff_content_line' => array(
      'arguments' => array(
        'line' => NULL,
      ),
    ),
    'diff_empty_line' => array(
      'arguments' => array(
        'line' => NULL,
      ),
    ),
  );
}