You are here

function commerce_file_field_formatter_info in Commerce File 7

Same name and namespace in other branches
  1. 7.2 commerce_file.module \commerce_file_field_formatter_info()

Implements hook_field_formatter_info().

File

./commerce_file.module, line 854
Provides integration of file licenses with Commerce

Code

function commerce_file_field_formatter_info() {
  return array(
    'commerce_file_access_link' => array(
      'label' => t('File link with License view access check'),
      'field types' => array(
        'commerce_file',
      ),
    ),
  );
}