You are here

function hook_farm_client_module_info in farmOS 7

Provide information about client modules that this module provides.

Return value

array Returns an array of client module information.

Related topics

2 invocations of hook_farm_client_module_info()
farm_client_farm_info in modules/farm/farm_client/farm_client.module
Implements hook_farm_info().
farm_client_js_deliver in modules/farm/farm_client/farm_client.module
Page callback for delivering client JS.

File

modules/farm/farm_client/farm_client.api.php, line 30
Hooks provided by farm_client.

Code

function hook_farm_client_module_info() {
  return array(
    'weather' => array(
      'name' => 'weather',
      'label' => t('Weather'),
      'js' => drupal_get_path('module', 'farm_weather') . '/src/FieldModule/Weather/weather.js',
    ),
  );
}