You are here

function hansel_forum_action_add_forum_path_info in Hansel breadcrumbs 7

Same name and namespace in other branches
  1. 8 forum/hansel_forum.module \hansel_forum_action_add_forum_path_info()

Callback for "add forum path" action to generate the information line

Parameters

array $arguments Values from the configuration form.:

Return value

string

1 string reference to 'hansel_forum_action_add_forum_path_info'
hansel_forum_hansel_action_types in forum/hansel_forum.module
Implements hook_hansel_action_types().

File

forum/hansel_forum.module, line 119
Hansel forum integration

Code

function hansel_forum_action_add_forum_path_info($arguments) {
  if (empty($arguments['inc_containers'])) {
    return t('Add forum path not including containers');
  }
  else {
    return t('Add forum path including containers');
  }
}