userlink.inc in Node import 5
Support file for userlink module (from the links module package).
File
supported/userlink.incView source
<?php
/**
* @file
* Support file for userlink module (from the links module package).
*/
/**
* Implementation of hook_node_import_types().
*/
function userlink_node_import_types() {
return array(
'userlink' => t('Userlink'),
);
}
/**
* Implementation of hook_node_import_fields().
*/
function userlink_node_import_fields($type) {
if ($type == 'userlink') {
return array(
'title' => t('Title'),
'body' => t('Body'),
'url' => t('Userlink: URL'),
'private' => t('Userlink: Private'),
);
}
}
Functions
Name | Description |
---|---|
userlink_node_import_fields | Implementation of hook_node_import_fields(). |
userlink_node_import_types | Implementation of hook_node_import_types(). |