public function StorageFilterInterface::filterDeleteAll in Config Filter 8.2
Same name and namespace in other branches
- 8 src/Config/StorageFilterInterface.php \Drupal\config_filter\Config\StorageFilterInterface::filterDeleteAll()
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: The prefix to search for. If omitted, all configuration objects that exist will be deleted.
bool $delete: Whether to delete all or not.
Return value
bool TRUE to allow deleting all, FALSE to trigger individual deletion.
File
- src/
Config/ StorageFilterInterface.php, line 174
Class
- StorageFilterInterface
- Interface StorageFilterInterface.
Namespace
Drupal\config_filter\ConfigCode
public function filterDeleteAll($prefix, $delete);