You are here

function hook_commerce_file_license_info_alter in Commerce File 7

Allows modules to alter the license limit definitions of other modules.

Parameters

$limits: An array of limits defined by enabled modules.

See also

hook_commerce_file_license_info()

1 invocation of hook_commerce_file_license_info_alter()
_commerce_file_collate_license_info in ./commerce_file.module
Store information about license properties

File

./commerce_file.api.php, line 173
Hooks provided by the Commerce File module.

Code

function hook_commerce_file_license_info_alter(&$limits) {
  $limits['download_limit']['base_element']['#title'] = t('Downloads Granted');
}