public SharedTempStore::setIfOwner($key, $value)
Stores a particular key/value pair in this SharedTempStore.
Only stores the given key/value pair if it does not exist yet or is owned by $this->owner.
Parameters
string $key: The key of the data to store.
mixed $value: The data to store.
Return value
bool TRUE if the data was set, or FALSE if it already exists and is not owned by $this->user.
File
core/modules/user/src/SharedTempStore.php, line 168
Class
SharedTempStore Stores and re