You are here

function farm_help_page_callback in farmOS 7

Farm help page callback.

1 string reference to 'farm_help_page_callback'
farm_help_menu in modules/farm/farm_help/farm_help.module
Implements hook_menu().

File

modules/farm/farm_help/farm_help.module, line 58
Farm help module.

Code

function farm_help_page_callback() {

  // Set the title so it is different than the menu item.
  drupal_set_title(t('farmOS Resources'));

  // Create output array.
  $output = array();

  // Allow other modules to add output.
  $contrib_output = module_invoke_all('farm_help_page');
  $output = array_merge($output, $contrib_output);

  // Return the output, imploded into a string.
  return implode('', $output);
}