function attachment_links_field_formatter_info in Attachment Links 7
Implements hook_field_formatter_info().
File
- ./
attachment_links.field-formatters.inc, line 11 - Field formatters for attachment_links module
Code
function attachment_links_field_formatter_info() {
$hooks['attachment_links_preferred'] = array(
'label' => t("Preferred link: Filename [TYPE SIZE]"),
'field types' => array(
'node_reference',
),
'multiple values' => FIELD_BEHAVIOR_DEFAULT,
);
$hooks['attachment_links_newest'] = array(
'label' => t("Newest link: Filename [TYPE SIZE]"),
'field types' => array(
'node_reference',
),
'multiple values' => FIELD_BEHAVIOR_DEFAULT,
);
return $hooks;
}