public function HashService::isValidHash in Fast Autocomplete 8
Validates if the given hash is valid.
Parameters
string $hash: The hash to validate.
Return value
bool TRUE if the hash is valid. FALSE if the hash is invalid.
Overrides HashServiceInterface::isValidHash
File
- src/
HashService.php, line 68
Class
- HashService
- Class HashService.
Namespace
Drupal\facCode
public function isValidHash($hash) {
$result = FALSE;
if ($hash == $this
->getHash()) {
$result = TRUE;
}
return $result;
}