Implements Drupal\Core\Config\StorageInterface::deleteAll().
PDOException
Drupal\Core\Database\DatabaseExceptionWrapper Only thrown in case $this->options['throw_exception'] is TRUE.
Overrides StorageInterface::deleteAll
public function deleteAll($prefix = '') {
$options = array(
'return' => Database::RETURN_AFFECTED,
) + $this->options;
return (bool) $this->connection
->delete($this->table, $options)
->condition('name', $prefix . '%', 'LIKE')
->execute();
}