function image_uninstall
Same name in other branches
- 9 core/modules/image/image.install \image_uninstall()
- 8.9.x core/modules/image/image.install \image_uninstall()
- 10 core/modules/image/image.install \image_uninstall()
- 11.x core/modules/image/image.install \image_uninstall()
Implements hook_uninstall().
File
-
modules/
image/ image.install, line 20
Code
function image_uninstall() {
// Remove the styles directory and generated images.
file_unmanaged_delete_recursive(file_default_scheme() . '://styles');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.