You are here

protected function SiteConfigOverrides::getSiteConfigOverrideFolder in Config override 8

Returns the site config overrides directory or NULL if it was not defined.

Return value

string|null The site config overrides directory or NULL if it was not defined.

1 call to SiteConfigOverrides::getSiteConfigOverrideFolder()
SiteConfigOverrides::loadOverrides in src/SiteConfigOverrides.php
Returns config overrides.

File

src/SiteConfigOverrides.php, line 72

Class

SiteConfigOverrides

Namespace

Drupal\config_override

Code

protected function getSiteConfigOverrideFolder() {
  try {
    return $this->root . '/' . Settings::get('config_sync_directory');
  } catch (\Exception $e) {
    return NULL;
  }
}