You are here

function hook_node_export_format_handlers in Node export 6.2

Same name and namespace in other branches
  1. 6.3 node_export.api.php \hook_node_export_format_handlers()
  2. 7.3 node_export.api.php \hook_node_export_format_handlers()

Register a format handler, for exporting code using other methods.

Return value

An array keyed by format names containing an array with keys #title and #module, where the value for #title is the display name of the format, and the value for #module is the module that implements it.

1 invocation of hook_node_export_format_handlers()
node_export_format_handlers in ./node_export.module
Get a list of possible format handlers (other than the default).

File

./node_export.api.php, line 155
Documents node_export's hooks for api reference.

Code

function hook_node_export_format_handlers() {
  return array(
    'format_short_name' => array(
      '#title' => t('Format Title'),
      '#module' => 'format_module_name',
    ),
  );
}