You are here

function hook_commerce_file_license_status_info_alter in Commerce File 7

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

Parameters

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

See also

hook_commerce_file_license_status_info()

1 invocation of hook_commerce_file_license_status_info_alter()
commerce_file_license_statuses in includes/commerce_file.entities.inc
Returns an array of some or all of the statuses keyed by name.

File

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

Code

function hook_commerce_file_license_status_info_alter(&$statuses) {
  $statuses['pending']['title'] = t('Awaiting Approval');
}