You are here

uc_catalog.inc in Nodewords: D6 Meta Tags 6.3

Same filename and directory in other branches
  1. 6 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.
 */

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

Functions