You are here

DrupalPublicFilesSource.php in Backup and Migrate 8.4

File

src/Source/DrupalPublicFilesSource.php
View source
<?php

namespace BackupMigrate\Drupal\Source;

use BackupMigrate\Core\Config\Config;
use BackupMigrate\Core\Source\FileDirectorySource;

/**
 * Class DrupalPublicFilesSource.
 *
 * @package BackupMigrate\Drupal\Source
 */
class DrupalPublicFilesSource extends FileDirectorySource {

  /**
   * Get the default values for the plugin.
   *
   * @return \BackupMigrate\Core\Config\Config
   */
  public function configDefaults() {
    $config = [
      'directory' => 'public://',
    ];
    return new Config($config);
  }

}

Classes

Namesort descending Description
DrupalPublicFilesSource Class DrupalPublicFilesSource.