You are here

function views_bulk_operations_argument_selector_action_form in Views Bulk Operations (VBO) 6

Same name and namespace in other branches
  1. 6.3 argument_selector.action.inc \views_bulk_operations_argument_selector_action_form()

File

actions/argument_selector.action.inc, line 34
Passes selected objects as arguments to a page or view.

Code

function views_bulk_operations_argument_selector_action_form($context) {
  $form['url'] = array(
    '#title' => t('URL'),
    '#type' => 'textfield',
    '#description' => t('Enter a URL that the user will be sent to.'),
    '#default_value' => @$context['url'],
    '#required' => TRUE,
  );
  return $form;
}