You are here

function linkit_uninstall in Linkit 8.5

Same name and namespace in other branches
  1. 6 linkit.install \linkit_uninstall()
  2. 7 linkit.install \linkit_uninstall()
  3. 7.2 linkit.install \linkit_uninstall()

Implements hook_uninstall().

File

./linkit.install, line 11
Contains install and update functions for Linkit.

Code

function linkit_uninstall() {
  $config_factory = \Drupal::configFactory();

  // Remove the image styles that Linkit has installed.
  $config_factory
    ->getEditable('image.style.linkit_result_thumbnail')
    ->delete();
}