_update_manager_unique_identifier

_update_manager_unique_identifier()

Returns a short unique identifier for this Drupal installation.

Return value

An eight character string uniquely identifying this Drupal installation.

File

core/modules/update/update.module, line 652
Handles updates of Drupal core and contributed projects.

Code

function _update_manager_unique_identifier() {
  $id = &drupal_static(__FUNCTION__, '');
  if (empty($id)) {
    $id = substr(hash('sha256', Settings::getHashSalt()), 0, 8);
  }
  return $id;
}
doc_Drupal
2016-10-29 09:57:22
Comments
Leave a Comment

Please login to continue.