function hacked_get_file_hashers in Hacked! 8.2
Same name and namespace in other branches
- 6.2 hacked.module \hacked_get_file_hashers()
- 7.2 hacked.module \hacked_get_file_hashers()
Gets all the file hashers defined.
2 calls to hacked_get_file_hashers()
- HackedSettingsForm::buildForm in src/
Form/ HackedSettingsForm.php - Form constructor.
- hacked_get_file_hasher in ./
hacked.module - Return the file hasher that is currently selected by the user.
File
- ./
hacked.module, line 150 - 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 = \Drupal::moduleHandler()
->invokeAll('hacked_file_hashers_info');
\Drupal::moduleHandler()
->alter('hacked_file_hashers_info', $hashers);
}
return $hashers;
}