protected PrivateTempStore::createkey($key)
Ensures that the key is unique for a user.
Parameters
string $key: The key.
Return value
string The unique key for the user.
File
- core/modules/user/src/PrivateTempStore.php, line 193
Class
- PrivateTempStore
- Stores and retrieves temporary data for a given owner.
Namespace
Drupal\user
Code
1 2 3 | protected function createkey( $key ) { return $this ->getOwner() . ':' . $key ; } |
Please login to continue.