function clients_drupal_admin in Web Service Clients 6.2
Same name and namespace in other branches
- 6 backends/clients_drupal/clients_drupal.module \clients_drupal_admin()
- 7.3 connections/clients_drupal/clients_drupal.module \clients_drupal_admin()
- 7 backends/clients_drupal/clients_drupal.module \clients_drupal_admin()
- 7.2 connections/clients_drupal/clients_drupal.module \clients_drupal_admin()
Form builder for the Drupal clients admin settings.
1 string reference to 'clients_drupal_admin'
- clients_drupal_menu in connections/
clients_drupal/ clients_drupal.module - Implementation of hook_menu()
File
- connections/
clients_drupal/ clients_drupal.module, line 64 - Provides connection types for Clients module that connect to remote Drupal sites running Services module.
Code
function clients_drupal_admin($form_states) {
$form = array();
$options = clients_drupal_encryption_methods();
$form['clients_drupal_encryption_method'] = array(
'#type' => 'select',
'#title' => t('Remote password encryption method'),
'#default_value' => variable_get('clients_drupal_encryption_method', 'no_encryption'),
'#options' => $options,
'#required' => TRUE,
);
return system_settings_form($form);
}