image_slider.install in Image sliders 8
Install, update and uninstall functions for the image_slider module.
File
image_slider.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the image_slider module.
*/
use Drupal\image\Entity\ImageStyle;
/**
* Implements hook_uninstall().
*/
function image_slider_uninstall() {
ImageStyle::load('image_slider_gallery')
->delete();
ImageStyle::load('image_slider_vertical_thumb_gallery')
->delete();
}
Functions
Name | Description |
---|---|
image_slider_uninstall | Implements hook_uninstall(). |