private function ConfigStorage::getConfig in Checklist API 8
Gets the config object.
Return value
\Drupal\Core\Config\Config Returns the config object.
File
- src/
Storage/ ConfigStorage.php, line 68
Class
- ConfigStorage
- Provides config-based checklist progress storage.
Namespace
Drupal\checklistapi\StorageCode
private function getConfig() {
if (empty($this->config)) {
$this->config = $this->configFactory
->getEditable("checklistapi.progress.{$this->getChecklistId()}");
}
return $this->config;
}