You are here

submitted_by.install in Submitted By 6

Same filename and directory in other branches
  1. 7 submitted_by.install

Take over the "Submitted by" theme function to allow different content types to have different strings.

File

submitted_by.install
View source
<?php

/**
 * @file
 * Take over the "Submitted by" theme function to allow different
 * content types to have different strings.
 */

/**
 * Implementation of hook_uninstall().
 */
function submitted_by_uninstall() {

  // Remove any variables that we have set.
  foreach (node_get_types('names') as $type => $name) {
    variable_del('submitted_by_' . $type);
    variable_del('submitted_by_comment_' . $type);
  }
}

Functions

Namesort descending Description
submitted_by_uninstall Implementation of hook_uninstall().