content_lock_timeout.install in Content locking (anti-concurrent editing) 8
Same filename and directory in other branches
- 8.2 modules/content_lock_timeout/content_lock_timeout.install
- 6.2 modules/content_lock_timeout/content_lock_timeout.install
- 7.3 modules/content_lock_timeout/content_lock_timeout.install
- 7 modules/content_lock_timeout/content_lock_timeout.install
- 7.2 modules/content_lock_timeout/content_lock_timeout.install
Remove config on uninstall.
File
modules/content_lock_timeout/content_lock_timeout.installView source
<?php
/**
* @file
* Remove config on uninstall.
*/
/**
* Implements hook_uninstall().
*/
function content_lock_timeout_uninstall() {
\Drupal::service('config.factory')
->getEditable('content_lock_timeout.settings')
->delete();
}
Functions
Name | Description |
---|---|
content_lock_timeout_uninstall | Implements hook_uninstall(). |