function hacked_hacked_file_hashers_info in Hacked! 7.2
Same name and namespace in other branches
- 8.2 hacked.module \hacked_hacked_file_hashers_info()
- 6.2 hacked.module \hacked_hacked_file_hashers_info()
Implements hook_hacked_file_hashers_info().
1 call to hacked_hacked_file_hashers_info()
- hacked_get_file_hasher in ./
hacked.module - Return the file hasher that is currently selected by the user.
File
- ./
hacked.module, line 370 - The Hacked! module, shows which project have been changed since download.
Code
function hacked_hacked_file_hashers_info() {
$hashers = array();
$hashers['hacked_ignore_line_endings'] = array(
'class' => 'hackedFileIgnoreEndingsHasher',
'name' => t('Ignore line endings'),
'description' => t('When hashing files differences in line endings will be ignored. This might be useful if projects have been edited on a different platform than of the original author\'s. E.g. if a file has been opened and saved on Windows.'),
);
$hashers['hacked_include_line_endings'] = array(
'class' => 'hackedFileIncludeEndingsHasher',
'name' => t('Include line endings'),
'description' => t('When hashing files differences in line endings will be included.'),
);
return $hashers;
}