You are here

function wsdata_wsdata_language_plugin in Web Service Data 7

Implements hook_wsdata_language_plugin().

File

./wsdata.module, line 49
Main module for wsconfig

Code

function wsdata_wsdata_language_plugin() {
  return array(
    'header' => array(
      'settings' => array(
        'header' => 'Accept-Language',
      ),
      'form' => 'wsdata_language_plugin_header_form',
      'file' => 'wsdata.admin',
      'file type' => 'inc',
      'module' => 'wsdata',
    ),
    'argument' => array(
      'settings' => array(
        'argument' => 'lang',
      ),
      'form' => 'wsdata_language_plugin_argument_form',
      'file' => 'wsdata.admin',
      'file type' => 'inc',
      'module' => 'wsdata',
    ),
    'path' => array(
      'settings' => array(
        'position' => 0,
      ),
      'form' => 'wsdata_language_plugin_path_form',
      'file' => 'wsdata.admin',
      'file type' => 'inc',
      'module' => 'wsdata',
    ),
    'uri' => array(
      'settings' => array(),
      'form' => 'wsdata_language_plugin_path_form',
      'file' => 'wsdata.admin',
      'file type' => 'inc',
      'module' => 'wsdata',
    ),
    'replace' => array(
      'settings' => array(
        'default' => '',
      ),
      'form' => 'wsdata_language_plugin_replace_form',
      'file' => 'wsdata.admin',
      'file type' => 'inc',
      'module' => 'wsdata',
    ),
    'default' => array(
      'settings' => array(),
      'form' => 'wsdata_language_plugin_default_form',
      'file' => 'wsdata.admin',
      'file type' => 'inc',
      'module' => 'wsdata',
    ),
  );
}