You are here

function pmpapi_remote_files_pmpapi_pull_make_local_files in Public Media Platform API Integration 7

Implements hook_pmpapi_pull_make_local_files().

File

pmpapi_remote_files/pmpapi_remote_files.module, line 36
Hook implementations for the PMPAPI remote files module.

Code

function pmpapi_remote_files_pmpapi_pull_make_local_files($profile) {
  $settings = variable_get('pmpapi_remote_files_settings', array());

  // If box is checked for $profile, don't make local files
  if (in_array($profile, $settings, TRUE)) {
    return FALSE;
  }
  return TRUE;
}