Commit c4c62fe3 authored by anon's avatar anon

Issue #2611006 by anon: Remove the "Linkit result thumbnail" image style on uninstall

parent 019d0390
......@@ -5,6 +5,16 @@
* Contains install and update functions for Linkit.
*/
/**
* Implements hook_uninstall().
*/
function linkit_uninstall() {
$config_factory = \Drupal::configFactory();
// Remove the image styles that Linkit has installed.
$config_factory->getEditable('image.style.linkit_result_thumbnail')->delete();
}
/**
* Updates Linkit from 4 to 5.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment