You are here

public function DrupalPublicFilesSource::configDefaults in Backup and Migrate 5.0.x

Get the default values for the plugin.

Return value

\Drupal\backup_migrate\Core\Config\Config

Overrides FileDirectorySource::configDefaults

File

src/Drupal/Source/DrupalPublicFilesSource.php, line 20

Class

DrupalPublicFilesSource
@package Drupal\backup_migrate\Drupal\Source

Namespace

Drupal\backup_migrate\Drupal\Source

Code

public function configDefaults() {
  $config = [
    'directory' => 'public://',
  ];
  return new Config($config);
}