logs_http.install in Logs HTTP 8
Same filename and directory in other branches
Uninstall function for the Logs HTTP module.
File
logs_http.installView source
<?php
/**
* @file
* Uninstall function for the Logs HTTP module.
*/
/**
* Implements hook_uninstall().
*
* Delete all Logs http configuration.
*/
function logs_http_uninstall() {
\Drupal::configFactory()
->getEditable('logs_http.settings')
->delete();
}
/**
* Handle uuid config name renaming.
*/
function logs_http_update_8001() {
$config_factory = \Drupal::configFactory();
$config = $config_factory
->getEditable('logs_http.settings');
$config
->set('environment_uuid', $config
->get('uuid'));
$config
->save(TRUE);
}
Functions
Name | Description |
---|---|
logs_http_uninstall | Implements hook_uninstall(). |
logs_http_update_8001 | Handle uuid config name renaming. |