You are here

jammer_feed_icon.module in Jammer 7

Same filename and directory in other branches
  1. 5 jammer_feed_icon.module
  2. 6 jammer_feed_icon.module

Remove the feed icon from templates.

File

jammer_feed_icon.module
View source
<?php

/**
 * @file
 * Remove the feed icon from templates.
 */

/**
 * Replace the feed icon function with our own.
 */
function jammer_feed_icon_theme_registry_alter(&$theme_registry) {
  $theme_registry['feed_icon']['function'] = '_jammer_feed_icon_theme_render';
}

/**
 * Output the empty feed icon.
 */
function _jammer_feed_icon_theme_render() {
  return '';
}

Functions

Namesort descending Description
jammer_feed_icon_theme_registry_alter Replace the feed icon function with our own.
_jammer_feed_icon_theme_render Output the empty feed icon.