LinkCollectionNormalizer::$hashSalt

Same name and namespace in other branches
  1. 8.9.x 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 67

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.