function content_lock_timeout_uninstall in Content locking (anti-concurrent editing) 8
Same name and namespace in other branches
- 8.2 modules/content_lock_timeout/content_lock_timeout.install \content_lock_timeout_uninstall()
- 6.2 modules/content_lock_timeout/content_lock_timeout.install \content_lock_timeout_uninstall()
- 7.3 modules/content_lock_timeout/content_lock_timeout.install \content_lock_timeout_uninstall()
- 7 modules/content_lock_timeout/content_lock_timeout.install \content_lock_timeout_uninstall()
- 7.2 modules/content_lock_timeout/content_lock_timeout.install \content_lock_timeout_uninstall()
Implements hook_uninstall().
File
- modules/
content_lock_timeout/ content_lock_timeout.install, line 11 - Remove config on uninstall.
Code
function content_lock_timeout_uninstall() {
\Drupal::service('config.factory')
->getEditable('content_lock_timeout.settings')
->delete();
}