function classified_field_formatter_info in Classified Ads 7.3
Implements hook_field_formatter_info().
- Classified Ads term reference formatter links to Classified Ads pages, not standard taxonomy pages.
File
- ./
classified.module, line 948 - A pure D7 classified ads module inspired by the ed_classified module.
Code
function classified_field_formatter_info() {
$ret = array();
$ret['taxonomy_term_reference_classified_link'] = array(
'label' => t('Classified Ads link'),
'description' => t('A link to the Classified Ads per-category listing for ad categories, or to default taxonomy pages otherwise'),
'field types' => array(
'taxonomy_term_reference',
),
'settings' => array(
'link_title' => FALSE,
),
);
return $ret;
}