Skip to content

Commit

Permalink
Issue #20: Hide unused diff modes.
Browse files Browse the repository at this point in the history
  • Loading branch information
quicksketch committed Dec 13, 2024
1 parent bdb85af commit f22ee34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion diff.module
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ define('DIFF_SORT_CUSTOM', '-1');
*/
function diff_available_states($entity_type = NULL) {
$states = array(
// Right now there is only one render mode.
// See https://github.com/backdrop-contrib/diff/issues/20
'raw' => t('Standard'),
'raw_plain' => t('Marked down'),
);

return $states;
Expand Down

0 comments on commit f22ee34

Please sign in to comment.