user.inc in Nodewords: D6 Meta Tags 6
Same filename and directory in other branches
Integration file for user.module.
File
includes/user.incView source
<?php
/**
* @file
* Integration file for user.module.
*/
/**
* @addtogroup nodewords
* @{
*/
/**
* Implements hook_nodewords_type_id().
*/
function user_nodewords_type_id(&$result, $arg) {
if ($arg[0] == 'user') {
// User page paths: user/$uid.
if (isset($arg[1]) && is_numeric($arg[1])) {
$result['type'] = NODEWORDS_TYPE_USER;
$result['id'] = $arg[1];
}
}
}
/**
* @} End of "addtogroup nodewords".
*/
Functions
Name | Description |
---|---|
user_nodewords_type_id | Implements hook_nodewords_type_id(). |