copyright_block.install in Copyright Block module 8
Same filename and directory in other branches
Install, update and uninstall functions for copyright_block.
File
copyright_block.installView source
<?php
/**
* @file
* Install, update and uninstall functions for copyright_block.
*/
/**
* Fix "seperator" typos.
*/
function copyright_block_update_8100() {
$config = \Drupal::configFactory()
->getEditable('copyright_block.settings');
// Copy the value from the original config value to the new one, then remove
// the original.
$config
->set('separator', $config
->get('seperator'))
->save();
$config
->clear('seperator')
->save();
}
Functions
Name | Description |
---|---|
copyright_block_update_8100 | Fix "seperator" typos. |