You are here

function computing_echo_optional_form_elements in Drupal Computing 7.2

'form elements callback' for the Echo command.

1 string reference to 'computing_echo_optional_form_elements'
computing_computing_data in ./computing.module
Implements hook_computing_data(). See README for details.

File

./computing.admin.inc, line 261

Code

function computing_echo_optional_form_elements() {
  $elements = array();
  $elements['ping'] = array(
    '#type' => 'textfield',
    '#title' => 'Ping Message',
    '#description' => 'Type in the message to ping remote agent.',
    '#default_value' => 'Hello, world!',
    '#required' => TRUE,
  );
  return $elements;
}