You are here

function commerce_file_views_data in Commerce File 7.2

Same name and namespace in other branches
  1. 8.2 commerce_file.views.inc \commerce_file_views_data()
  2. 7 views/commerce_file.views.inc \commerce_file_views_data()

Implements hook_views_data().

File

includes/views/commerce_file.views.inc, line 10

Code

function commerce_file_views_data() {
  $data['commerce_license']['download_limit'] = array(
    'title' => t('Download limit'),
    'help' => t('Displays the download limit for a file.'),
    'field' => array(
      'handler' => 'commerce_file_handler_field_download_limit',
      'click sortable' => FALSE,
    ),
  );
  return $data;
}