public function ConfigHelper::optional in Lightning Core 8
Same name and namespace in other branches
- 8.5 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::optional()
- 8.2 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::optional()
- 8.3 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::optional()
- 8.4 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::optional()
Switches to the optional config directory.
Return value
$this The called object, for chaining.
File
- src/ConfigHelper.php, line 73 
Class
- ConfigHelper
- A facade to assist with manipulating default config.
Namespace
Drupal\lightning_coreCode
public function optional() {
  $this->directory = self::CONFIG_OPTIONAL_DIRECTORY;
  return $this;
}