You are here

function commerce_purchase_order_action_info in Commerce Purchase Order 7

Implements hook_action_info().

File

./commerce_purchase_order.module, line 286
Provides an example payment method for Drupal Commerce for testing and development.

Code

function commerce_purchase_order_action_info() {
  return array(
    'commerce_purchase_order_validate_action' => array(
      'type' => 'commerce_payment_transaction',
      'label' => t('Validate purchase orders'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
    ),
  );
}