You are here

function slick_update_8206 in Slick Carousel 8.2

Removing traces of the Slick media module after merging.

File

./slick.install, line 99
Installation actions for Slick.

Code

function slick_update_8206() {
  $moduleHandler = \Drupal::moduleHandler();
  if (!$moduleHandler
    ->moduleExists('slick_media')) {
    $schema_store = \Drupal::keyValue('system.schema');
    $schema_store
      ->delete('slick_media');
  }
}