You are here

function media_entity_browser_uninstall in Media Entity Browser 8

Same name and namespace in other branches
  1. 8.2 media_entity_browser.install \media_entity_browser_uninstall()

Implements hook_uninstall().

File

./media_entity_browser.install, line 13
Install file for media entity browser module.

Code

function media_entity_browser_uninstall() {
  $imageStyle = ImageStyle::load('media_entity_browser_thumbnail');
  if (!empty($imageStyle)) {
    $imageStyle
      ->delete();
  }
}