function pmpapi_pull_make_local_files in Public Media Platform API Integration 7
Implements hook_pmpapi_pull_make_local_files().
1 call to pmpapi_pull_make_local_files()
- PMPAPIDrupalPull::createEnclosureFile in pmpapi_pull/
classes/ PMPAPIDrupalPull.php - Creates a file object from a PMP object.
File
- pmpapi_pull/
pmpapi_pull.module, line 346 - Allows admins to pull content from the PMP API, and turn PMP docs into (locally-stored, independent) drupal entities.
Code
function pmpapi_pull_make_local_files($profile) {
$make_local_files = module_invoke_all('pmpapi_pull_make_local_files', $profile);
return !in_array(FALSE, $make_local_files, TRUE);
}