You are here

function bat_unit_action_info in Booking and Availability Management Tools for Drupal 7

Implements hook_action_info().

File

modules/bat_unit/bat_unit.module, line 395

Code

function bat_unit_action_info() {
  return array(
    'bat_unit_publish' => array(
      'type' => 'bat_unit',
      'label' => t('Publish unit'),
      'behavior' => array(
        'bat_unit_publish',
      ),
      'configurable' => FALSE,
      'vbo_configurable' => FALSE,
      'triggers' => array(
        'any',
      ),
    ),
    'bat_unit_unpublish' => array(
      'type' => 'bat_unit',
      'label' => t('Unpublish unit'),
      'behavior' => array(
        'bat_unit_unpublish',
      ),
      'configurable' => FALSE,
      'vbo_configurable' => FALSE,
      'triggers' => array(
        'any',
      ),
    ),
  );
}