vde_pdf_background_process.install in Views Data Export PDF 7.2
Same filename and directory in other branches
Installation hooks and functions for the Views Data Export PDF - Background Process module.
File
modules/vde_pdf_background_process/vde_pdf_background_process.installView source
<?php
/**
* @file
* Installation hooks and functions for the Views Data Export PDF - Background
* Process module.
*/
/**
* Implements hook_requirements().
*/
function vde_pdf_background_process_requirements($phase) {
$requirements = [];
// Ensure translations don't break during installation.
$t = get_t();
if (module_exists('background_batch')) {
$requirements['views_data_export_pdf_background_batch_conflict'] = array(
'title' => $t('Background Batch module'),
'description' => $t('The "Views Data Export PDF - Background Process" module is not compatible with the "Background Batch" module because it will result in exports that hang during PDF conversion. Both modules must not be installed and enabled at the same time. Disable the "Background Batch" module.'),
'severity' => REQUIREMENT_ERROR,
);
}
return $requirements;
}
Functions
Name![]() |
Description |
---|---|
vde_pdf_background_process_requirements | Implements hook_requirements(). |