You are here

preview_link.install in Preview Link 8

Same filename and directory in other branches
  1. 2.x preview_link.install
  2. 2.0.x preview_link.install

Install file.

File

preview_link.install
View source
<?php

/**
 * @file
 * Install file.
 */

/**
 * Install the settings object.
 */
function preview_link_update_8101() {
  $config = \Drupal::configFactory()
    ->getEditable('preview_link.settings');
  $config
    ->set('enabled_entity_types', []);
  $config
    ->save(TRUE);
}

Functions

Namesort descending Description
preview_link_update_8101 Install the settings object.