protected function LockrRenewForm::getEnv in Lockr 4.x
Returns the environment of the current client.
1 call to LockrRenewForm::getEnv()
- LockrRenewForm::submitForm in src/
Form/ LockrRenewForm.php - Form submission handler.
File
- src/
Form/ LockrRenewForm.php, line 304
Class
- LockrRenewForm
- Form handler for Lockr renew cert.
Namespace
Drupal\lockr\FormCode
protected function getEnv() {
$data = $this->lockrClient
->query([
'query' => '{ self { env } }',
]);
return $data['self']['env'] ?? 'unknown';
}