You are here

function clients_connection_base::connectionSettingsForm in Web Service Clients 6.2

Same name and namespace in other branches
  1. 7.2 clients.inc \clients_connection_base::connectionSettingsForm()

Extra form elements specific to a class's edit form.

This is the same pattern as node_form() -- just ignore the object behind the curtain ;)

This (so far) is common to all versions of Drupal Services.

Parameters

$form_state: The form state from the main form, which you probably don't need anyway.

Return value

A FormAPI form array. This will be merged in with basic data and the submit button added.

See also

clients_connection_form()

clients_connection_form_submit()

2 methods override clients_connection_base::connectionSettingsForm()
clients_connection_drupal_services_6_2::connectionSettingsForm in connections/clients_drupal/clients_drupal.inc
Extra form elements specific to a class's edit form.
clients_connection_drupal_services_7_3::connectionSettingsForm in connections/clients_drupal/clients_drupal.inc
Extra form elements specific to a class's edit form.

File

./clients.inc, line 66
Contains basic classes for client connections.

Class

clients_connection_base
Base class for client connections.

Code

function connectionSettingsForm(&$form_state) {
  $form = array();
  return $form;
}