LinkCollectionNormalizer::$hashSalt

Same name in other branches
  1. 9 core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php \Drupal\jsonapi\Normalizer\LinkCollectionNormalizer::hashSalt
  2. 10 core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php \Drupal\jsonapi\Normalizer\LinkCollectionNormalizer::hashSalt
  3. 11.x 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 63

Class

LinkCollectionNormalizer
Normalizes a LinkCollection object.

Namespace

Drupal\jsonapi\Normalizer

Code

protected $hashSalt;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.