hook_category_export

Definition

hook_category_export()
category/docs/developer/hooks/core.php, line 89

Description

Define one or more export formats for categories. Each export format defined here can then be enabled or disabled on a per-container basis.

Return value

An array of export formats, where the key of each element is the system name of the export format, and the value is the human-readable name of the format.

Related topics

Namesort iconDescription
HooksAllow modules to interact with the Drupal core.

Code

<?php
function hook_category_export() {
  return array('foo' => t('FooML'));
}
?>