You are here

pdfpreview.install in PDFPreview 8

Update hooks for PDFpreview module.

File

pdfpreview.install
View 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

Namesort descending Description
pdfpreview_update_8001 Adds output file configuration value to the module's settings.