You are here

protected static function ModifiedFilesService::getHashName in Automatic Updates 7

Get the hash file name.

Parameters

array $info: The extension's info.

Return value

string|null The hash name.

1 call to ModifiedFilesService::getHashName()
ModifiedFilesService::buildUrl in ./ModifiedFilesService.php
Build an extension's hash file URL.

File

./ModifiedFilesService.php, line 134

Class

ModifiedFilesService
Modified files service.

Code

protected static function getHashName(array $info) {
  $hash_name = 'contents-sha256sums';
  if ($info['packaged']) {
    $hash_name .= '-packaged';
  }
  return $hash_name . '.csig';
}