You are here

function hook_custom_formatters_engine_info in Custom Formatters 7.2

Implements hook_custom_formatters_engine().

1 function implements hook_custom_formatters_engine_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

custom_formatters_custom_formatters_engine_info in includes/custom_formatters.inc
Implements hook_custom_formatters_engine().
7 invocations of hook_custom_formatters_engine_info()
custom_formatters_custom_formatters_theme_alter in includes/custom_formatters.inc
Implements hook_custom_formatters_theme_alter().
custom_formatters_export_ui_export_form in plugins/export_ui/custom_formatters.inc
Provide a form for displaying an export.
custom_formatters_export_ui_form in plugins/export_ui/custom_formatters.inc
Custom Formatters settings form.
custom_formatters_export_ui_form_js in plugins/export_ui/custom_formatters.inc
AJAX callback for Custom formatters form.
custom_formatters_export_ui_form_submit in plugins/export_ui/custom_formatters.inc
Submit callback for Custom Formatters settings form.

... See full list

File

./custom_formatters.api.php, line 11
Hooks provided by the Custom Formatters module.

Code

function hook_custom_formatters_engine_info() {
  $engines['MY_MODULE'] = array(
    'label' => t('MY_MODULE'),
    'callbacks' => array(
      'settings form' => 'MYMODULE_engine_settings_form',
      'settings form submit' => 'MYMODULE_engine_settings_form_submit',
      'render' => 'MYMODULE_engine_render',
    ),
    'file' => drupal_get_path('module', 'MYMODULE') . '/engines/MYMODULE.inc',
  );
  return $engines;
}