You are here

function clients_drupal_encryption_methods in Web Service Clients 6.2

Same name and namespace in other branches
  1. 6 backends/clients_drupal/clients_drupal.module \clients_drupal_encryption_methods()
  2. 7.3 connections/clients_drupal/clients_drupal.module \clients_drupal_encryption_methods()
  3. 7 backends/clients_drupal/clients_drupal.module \clients_drupal_encryption_methods()
  4. 7.2 connections/clients_drupal/clients_drupal.module \clients_drupal_encryption_methods()

Helper function to retrieve all available encryption methods.

1 call to clients_drupal_encryption_methods()
clients_drupal_admin in connections/clients_drupal/clients_drupal.module
Form builder for the Drupal clients admin settings.

File

connections/clients_drupal/clients_drupal.module, line 81
Provides connection types for Clients module that connect to remote Drupal sites running Services module.

Code

function clients_drupal_encryption_methods() {

  // Invoke hook_clients_drupal_encryption_methods().
  $options = module_invoke_all('clients_drupal_encryption_methods');
  $options['no_encryption'] = t('No encryption');
  return $options;
}