You are here

function hacked_get_file_hashers in Hacked! 7.2

Same name and namespace in other branches
  1. 8.2 hacked.module \hacked_get_file_hashers()
  2. 6.2 hacked.module \hacked_get_file_hashers()

Gets all the file hashers defined.

2 calls to hacked_get_file_hashers()
hacked_get_file_hasher in ./hacked.module
Return the file hasher that is currently selected by the user.
hacked_settings_form in ./hacked.admin.inc
The settings form for Hacked!

File

./hacked.module, line 358
The Hacked! module, shows which project have been changed since download.

Code

function hacked_get_file_hashers() {
  $hashers =& drupal_static(__FUNCTION__);
  if (is_null($hashers)) {
    $hashers = module_invoke_all('hacked_file_hashers_info');
    drupal_alter('hacked_file_hashers_info', $hashers);
  }
  return $hashers;
}