public function DrupalPublicFileExcludeFilter::configDefaults in Backup and Migrate 5.0.x
Get the default values for the plugin.
Return value
\Drupal\backup_migrate\Core\Config\Config
Overrides FileExcludeFilter::configDefaults
File
- src/
Drupal/ Filter/ DrupalPublicFileExcludeFilter.php, line 20
Class
- DrupalPublicFileExcludeFilter
- A file exclusion filter that includes Drupal's cache directories by default.
Namespace
Drupal\backup_migrate\Drupal\FilterCode
public function configDefaults() {
$config = [
'exclude_filepaths' => [
'js',
'css',
'php',
'styles',
'config_*',
'.htaccess',
],
];
// @todo Allow modules to add their own excluded defaults.
return new Config($config);
}