_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
1 2 3 4 5 6 7 | function _update_manager_unique_identifier() { $id = &drupal_static( __FUNCTION__ , '' ); if ( empty ( $id )) { $id = substr (hash( 'sha256' , Settings::getHashSalt()), 0, 8); } return $id ; } |
Please login to continue.