You are here

function backup_migrate_include in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 8.3 backup_migrate.module \backup_migrate_include()
  2. 6.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.

51 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_succeed in ./backup_migrate.module
Clean up when a backup operation suceeds.
backup_migrate_cron in ./backup_migrate.module
Implementation of hook_cron().
backup_migrate_crud_type_load in includes/crud.inc
Get a generic object of the given type to be used for static-like functions.

... See full list

File

./backup_migrate.module, line 244
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 DRUPAL_ROOT . '/' . drupal_get_path('module', 'backup_migrate') . "/includes/{$file}.inc";
    }
    $used[$file] = TRUE;
  }
}