function commerce_cardonfile_update in Commerce Card on File 7
Displays the form for updating cardonfile data.
Parameters
$card_data: The data array representing a card on file.
1 string reference to 'commerce_cardonfile_update'
- commerce_cardonfile_menu in ./
commerce_cardonfile.module - Implements hook_menu().
File
- includes/
commerce_cardonfile.pages.inc, line 49 - User page callbacks and forms for Commerce Card on File.
Code
function commerce_cardonfile_update($card_data) {
// Set the title of the page.
drupal_set_title(t('Update your credit card data'));
return drupal_get_form('commerce_cardonfile_update_form', $card_data);
}