function focal_point_uninstall in Focal Point 8
Same name and namespace in other branches
- 7 focal_point.install \focal_point_uninstall()
Implements hook_uninstall().
File
- ./
focal_point.install, line 13 - Install hooks for focal_point.
Code
function focal_point_uninstall() {
// Remove the focal point configurations.
\Drupal::configFactory()
->getEditable('focal_point.settings')
->delete();
\Drupal::configFactory()
->getEditable('focal_point.preview')
->delete();
\Drupal::configFactory()
->getEditable('crop.type.focal_point')
->delete();
}