You are here

function backup_migrate_include in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.2 backup_migrate.module \backup_migrate_include()
  2. 8.3 backup_migrate.module \backup_migrate_include()
  3. 6.2 backup_migrate.module \backup_migrate_include()
  4. 7.3 backup_migrate.module \backup_migrate_include()
  5. 7.2 backup_migrate.module \backup_migrate_include()

Include views .inc files as necessary.

70 calls to backup_migrate_include()
backup_migrate_backup_fail in ./backup_migrate.module
Clean up when a backup operation fails.
backup_migrate_backup_migrate_destinations in includes/destinations.inc
Implementation of hook_backup_migrate_destinations().
backup_migrate_backup_migrate_locations in includes/locations.inc
Implementation of hook_backup_migrate_locations().
backup_migrate_backup_migrate_schedules in ./backup_migrate.module
Implementation of hook_backup_migrate_destinations().
backup_migrate_backup_migrate_sources in includes/sources.inc
Implementation of hook_backup_migrate_sources().

... See full list

File

./backup_migrate.module, line 416
Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)

Code

function backup_migrate_include() {
  static $used = array();
  foreach (func_get_args() as $file) {
    if (!isset($used[$file])) {
      require_once backup_migrate_include_path($file);
    }
    $used[$file] = TRUE;
  }
}