1.20.x installer.module | _installer_manager_unique_identifier() |
Returns a short unique identifier for this Backdrop installation.
Return value
An eight character string uniquely identifying this Backdrop installation.:
File
- modules/
installer/ installer.module, line 272 - Handles installation and updates of contributed projects.
Code
function _installer_manager_unique_identifier() {
$id = &backdrop_static(__FUNCTION__, '');
if (empty($id)) {
$id = substr(hash('sha256', backdrop_get_hash_salt()), 0, 8);
}
return $id;
}