You are here

function file_browser_uninstall in File Entity Browser 8

Implements hook_uninstall().

File

./file_browser.install, line 35
Defines library requirements and install routines for File Browser.

Code

function file_browser_uninstall() {
  Drupal::configFactory()
    ->getEditable('image.style.file_entity_browser_small')
    ->delete();
  Drupal::configFactory()
    ->getEditable('image.style.file_entity_browser_thumbnail')
    ->delete();
  Drupal::configFactory()
    ->getEditable('embed.button.file_browser')
    ->delete();
}