preview_link.install in Preview Link 8
Same filename and directory in other branches
Install file.
File
preview_link.installView 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
Name | Description |
---|---|
preview_link_update_8101 | Install the settings object. |