You are here

public function State::getRandom in Advanced CSS/JS Aggregation 8.2

Get a semi-random (randomness not guaranteed) value.

File

src/State/State.php, line 46

Class

State
Provides AdvAgg State interfaces with a few extra commands.

Namespace

Drupal\advagg\State

Code

public function getRandom() {
  return $this
    ->get($this
    ->getRandomKey());
}