You are here

function vbo_export_action_info in VBO export 7

Implements hook_action_info().

File

./vbo_export.module, line 11
Provides VBO action to create a csv based on returned results.

Code

function vbo_export_action_info() {
  return array(
    'vbo_export_csv_action' => array(
      'type' => 'entity',
      'label' => t('Export as csv'),
      'configurable' => FALSE,
      'vbo_configurable' => FALSE,
      'triggers' => array(
        'any',
      ),
      'pass rows' => TRUE,
      'behavior' => array(
        'views_property',
      ),
    ),
    'vbo_export_xlsx_action' => array(
      'type' => 'entity',
      'label' => t('Export as xlsx'),
      'configurable' => FALSE,
      'vbo_configurable' => FALSE,
      'triggers' => array(
        'any',
      ),
      'pass rows' => TRUE,
      'behavior' => array(
        'views_property',
      ),
    ),
  );
}