You are here

protected function ModifiedFiles::getHashName in Automatic Updates 8

Get the hash file name.

Parameters

array $info: The extension's info.

Return value

string|null The hash name.

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

File

src/Services/ModifiedFiles.php, line 213

Class

ModifiedFiles
Modified files service.

Namespace

Drupal\automatic_updates\Services

Code

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