You are here

public function CertManager::certPath in Lockr 4.x

Returns the current custom cert path.

Return value

string

2 calls to CertManager::certPath()
CertManager::backupCert in src/CertManager.php
Backs up the current cert into the private directory.
CertManager::certWritable in src/CertManager.php
Returns TRUE if the current cert and its directory are writable.

File

src/CertManager.php, line 61

Class

CertManager
Helper class for managing Lockr certificates.

Namespace

Drupal\lockr

Code

public function certPath() {
  $config = $this->configFactory
    ->get('lockr.settings');
  return $this
    ->resolveCertPath($config
    ->get('cert_path'));
}