You are here

public function ConfigHelper::install in Lightning Core 8.4

Same name and namespace in other branches
  1. 8.5 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::install()
  2. 8 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::install()
  3. 8.2 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::install()
  4. 8.3 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::install()

Switches to the default config directory.

Return value

$this The called object, for chaining.

File

src/ConfigHelper.php, line 61

Class

ConfigHelper
A facade to assist with manipulating default config.

Namespace

Drupal\lightning_core

Code

public function install() {
  $this->directory = self::CONFIG_INSTALL_DIRECTORY;
  return $this;
}