You are here

protected property LinkCollectionNormalizer::$hashSalt in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php \Drupal\jsonapi\Normalizer\LinkCollectionNormalizer::hashSalt

A random string to use when hashing links.

This string is unique per instance of a link collection, but always the same within it. This means that link key hashes will be non-deterministic for outside observers, but two links within the same collection will always have the same hash value.

This is not used for cryptographic purposes.

Type: string

File

core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php, line 67

Class

LinkCollectionNormalizer
Normalizes a LinkCollection object.

Namespace

Drupal\jsonapi\Normalizer

Code

protected $hashSalt;