You are here

xmlsitemap_custom.install in XML sitemap 8

Install and uninstall schema and functions for the xmlsitemap_custom module.

File

xmlsitemap_custom/xmlsitemap_custom.install
View source
<?php

/**
 * @file
 * Install and uninstall schema and functions for the xmlsitemap_custom module.
 */

/**
 * Implements hook_uninstall().
 */
function xmlsitemap_custom_uninstall() {
  \Drupal::moduleHandler()
    ->load('xmlsitemap');
  \Drupal::service('xmlsitemap.link_storage')
    ->deleteMultiple([
    'type' => 'custom',
  ]);
}

Functions

Namesort descending Description
xmlsitemap_custom_uninstall Implements hook_uninstall().