public function ReadOnlyStorage::deleteAll in Config Filter 8.2
Same name and namespace in other branches
- 8 src/Config/ReadOnlyStorage.php \Drupal\config_filter\Config\ReadOnlyStorage::deleteAll()
Deletes configuration objects whose names start with a given prefix.
Given the following configuration object names:
- node.type.article
- node.type.page
Passing the prefix 'node.type.' will delete the above configuration objects.
Parameters
string $prefix: (optional) The prefix to search for. If omitted, all configuration objects that exist will be deleted.
Return value
bool TRUE on success, FALSE otherwise.
Overrides StorageInterface::deleteAll
1 method overrides ReadOnlyStorage::deleteAll()
- GhostStorage::deleteAll in src/
Config/ GhostStorage.php - Deletes configuration objects whose names start with a given prefix.
File
- src/
Config/ ReadOnlyStorage.php, line 100
Class
- ReadOnlyStorage
- Class ReadOnlyStorage.
Namespace
Drupal\config_filter\ConfigCode
public function deleteAll($prefix = '') {
throw new UnsupportedMethod(__METHOD__ . ' is not allowed on a ReadOnlyStorage');
}