public function ConfigHelper::deleteAll in Lightning Core 8.3
Same name and namespace in other branches
- 8.5 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::deleteAll()
- 8 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::deleteAll()
- 8.2 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::deleteAll()
- 8.4 src/ConfigHelper.php \Drupal\lightning_core\ConfigHelper::deleteAll()
Overrides Drupal\Core\Config\FileStorage::deleteAll().
Throws
\Drupal\Core\Config\StorageException
Overrides InstallStorage::deleteAll
File
- src/
ConfigHelper.php, line 141
Class
- ConfigHelper
- A facade to assist with manipulating default config.
Namespace
Drupal\lightning_coreCode
public function deleteAll($prefix = '') {
foreach ($this
->listAll($prefix) as $id) {
$this
->delete($id);
}
}