You are here

public function commerce_file_handler_field_download_limit::access in Commerce File 7.2

Hide the column if downloads are not limited.

Overrides views_handler::access

File

includes/views/handlers/commerce_file_handler_field_download_limit.inc, line 18
Contains commerce_file_handler_field_download_limit.

Class

commerce_file_handler_field_download_limit
Displays the download limit for a file

Code

public function access() {
  return variable_get('commerce_file_enable_download_limit', FALSE);
}