You are here

function commerce_file_forms in Commerce File 7

Implements hook_forms().

File

./commerce_file.module, line 680
Provides integration of file licenses with Commerce

Code

function commerce_file_forms($form_id, $args) {
  $forms = array();
  if (strpos($form_id, 'commerce_file_license_issue_by_host_form_') === 0) {
    module_load_include('inc', 'commerce_file', 'includes/commerce_file_license.forms');
    $forms[$form_id] = array(
      'callback' => 'commerce_file_license_issue_by_host_form',
    );
  }
  return $forms;
}