You are here

function commerce_license_action_info in Commerce License 7

Implements hook_action_info().

File

./commerce_license.module, line 1228
Provides a framework for selling access to local or remote resources.

Code

function commerce_license_action_info() {
  return array(
    'commerce_license_activate_action' => array(
      'type' => 'commerce_license',
      'label' => t('Activate license'),
      'configurable' => FALSE,
      'triggers' => array(
        'any',
      ),
    ),
    'commerce_license_suspend_action' => array(
      'type' => 'commerce_license',
      'label' => t('Suspend license'),
      'configurable' => FALSE,
      'triggers' => array(
        'any',
      ),
    ),
    'commerce_license_revoke_action' => array(
      'type' => 'commerce_license',
      'label' => t('Revoke license'),
      'configurable' => FALSE,
      'triggers' => array(
        'any',
      ),
    ),
    'commerce_license_renew_action' => array(
      'type' => 'commerce_license',
      'label' => t('Renew license'),
      'configurable' => TRUE,
      'triggers' => array(
        'any',
      ),
    ),
  );
}