home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (xmlsitemap_custom.install)

This example Drupal source code file (xmlsitemap_custom.install) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

custom, function, php, xmlsitemap, xmlsitemap_custom_uninstall

The xmlsitemap_custom.install Drupal example source code

<?php
// $Id: xmlsitemap_custom.install,v 1.3 2010/01/30 21:56:22 davereid Exp $

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

/**
 * Implements hook_uninstall().
 */
function xmlsitemap_custom_uninstall() {
  drupal_load('module', 'xmlsitemap');
  xmlsitemap_link_delete_multiple(array('type' => 'custom'));
}

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal xmlsitemap_custom.install source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.