function commerce_cardonfile_admin_paths in Commerce Card on File 7.2
Implements hook_admin_paths().
File
- ./
commerce_cardonfile.module, line 110 - Supports card on file functionality for credit card payment methods by associating card data reference IDs from payment gateways with user accounts.
Code
function commerce_cardonfile_admin_paths() {
// The user module defines user/*/edit as an admin path, so we must explicitly
// declare user/*/cards/* as non-admin paths.
$paths = array(
'user/*/cards/*' => FALSE,
);
return $paths;
}