You are here

uc_catalog.inc in Nodewords: D6 Meta Tags 6

Same filename and directory in other branches
  1. 6.3 includes/uc_catalog.inc
  2. 6.2 includes/uc_catalog.inc

Integration file for uc_catalog.module.

File

includes/uc_catalog.inc
View source
<?php

/**
 * @file
 * Integration file for uc_catalog.module.
 */

/**
 * @addtogroup nodewords
 * @{
 */

/**
 * Implements hook_nodewords_type_id().
 */
function uc_catalog_nodewords_type_id(&$result, $arg) {
  if ($arg[0] == 'catalog') {
    if (isset($arg[1]) && is_numeric($arg[1])) {
      $result['type'] = NODEWORDS_TYPE_TERM;
      $result['id'] = $arg[1];
    }
  }
}

/**
 * @} End of "addtogroup nodewords".
 */

Functions