public function SecretInfo::getAllSecretInfo in Lockr 4.x
Same name and namespace in other branches
- 8.4 src/SecretInfo.php \Drupal\lockr\SecretInfo::getAllSecretInfo()
- 8.3 src/SecretInfo.php \Drupal\lockr\SecretInfo::getAllSecretInfo()
File
- src/
SecretInfo.php, line 92
Class
- SecretInfo
- SecretInfo implements secret info for Lockr secrets.
Namespace
Drupal\lockrCode
public function getAllSecretInfo() {
$info = [];
foreach ($this->secretStorage
->loadMultiple(NULL) as $secret) {
$info[$secret
->id()] = $secret
->getInfo();
}
return $info;
}