You are here

function units_ctools_plugin_type in Units of Measurement 7

Same name and namespace in other branches
  1. 7.2 units.module \units_ctools_plugin_type()

Implements hook_ctools_plugin_type().

File

./units.module, line 70
Provide API for managing and converting units of measurement.

Code

function units_ctools_plugin_type() {
  $plugins = array();
  $plugins['converters'] = array(
    'defaults' => array(
      'title' => NULL,
      'description' => NULL,
      'convert callback' => NULL,
    ),
  );
  return $plugins;
}