You are here

function _diff_default_cols in Diff 6

Same name and namespace in other branches
  1. 6.2 diff.pages.inc \_diff_default_cols()
  2. 7.3 diff.pages.inc \_diff_default_cols()
  3. 7.2 diff.pages.inc \_diff_default_cols()

Helper function to create default 'cols' array for diff table.

2 calls to _diff_default_cols()
diff_diffs_show in ./diff.module
Create output string for a comparison of 'node' between versions 'old_vid' and 'new_vid'.
diff_node_form_build_preview_changes in ./diff.module
Callback if 'Preview changes' is pressed.

File

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

Code

function _diff_default_cols() {
  return array(
    array(
      array(
        'class' => 'diff-marker',
      ),
      array(
        'class' => 'diff-content',
      ),
      array(
        'class' => 'diff-marker',
      ),
      array(
        'class' => 'diff-content',
      ),
    ),
  );
}