You are here

function views_bulk_operations_script_action_info in Views Bulk Operations (VBO) 6.3

Same name and namespace in other branches
  1. 6 actions/script.action.inc \views_bulk_operations_script_action_info()
  2. 7.3 actions/script.action.inc \views_bulk_operations_script_action_info()

File

./script.action.inc, line 3

Code

function views_bulk_operations_script_action_info() {
  if (!module_exists('actions_permissions') && !user_access('administer site configuration')) {
    return array();
  }
  return array(
    'views_bulk_operations_script_action' => array(
      'type' => 'system',
      'description' => t('Execute arbitrary PHP script'),
      'configurable' => TRUE,
      'hooks' => array(
        'any' => TRUE,
      ),
    ),
  );
}