You are here

function hook_commerce_file_license_state_info_alter in Commerce File 7

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

Parameters

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

See also

hook_commerce_file_license_state_info()

1 invocation of hook_commerce_file_license_state_info_alter()
commerce_file_license_states in includes/commerce_file.entities.inc
Returns an array of all the license states keyed by name.

File

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

Code

function hook_commerce_file_license_state_info_alter(&$states) {
  $states['allowed']['weight'] = 9;
}