pdfpreview.install in PDFPreview 8
Same filename and directory in other branches
Update hooks for PDFpreview module.
File
pdfpreview.installView source
<?php
/**
* @file
* Update hooks for PDFpreview module.
*/
/**
* Adds output file configuration value to the module's settings.
*/
function pdfpreview_update_8001() {
\Drupal::configFactory()
->getEditable('pdfpreview.settings')
->set('type', 'jpg')
->save();
}
Functions
Name | Description |
---|---|
pdfpreview_update_8001 | Adds output file configuration value to the module's settings. |