function pdfpreview_update_8001 in PDFPreview 8
Same name and namespace in other branches
- 2.0.x pdfpreview.install \pdfpreview_update_8001()
Adds output file configuration value to the module's settings.
File
- ./
pdfpreview.install, line 11 - Update hooks for PDFpreview module.
Code
function pdfpreview_update_8001() {
\Drupal::configFactory()
->getEditable('pdfpreview.settings')
->set('type', 'jpg')
->save();
}