function classified_content_extra_fields in Classified Ads 6.3
Implements hook_content_extra_fields().
File
- ./
classified.module, line 743 - A pure D6 classified ads module inspired by the ed_classified module.
Code
function classified_content_extra_fields($type_name) {
if ($type_name != 'classified') {
$ret = NULL;
}
else {
$ret = array(
'expires' => array(
'label' => t('Ad expiration'),
'description' => t('Date the ad expires.'),
'weight' => 5,
),
);
}
return $ret;
}