You are here

function hansel_forum_action_add_forum_path_config_form in Hansel breadcrumbs 7

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

Callback to generate the configuration form for the "add forum path" action

Parameters

array $arguments:

Return value

array

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

File

forum/hansel_forum.module, line 134
Hansel forum integration

Code

function hansel_forum_action_add_forum_path_config_form($arguments) {
  $form = array();
  $form['inc_containers'] = array(
    '#type' => 'checkbox',
    '#title' => t('Include containers'),
    '#options' => $options,
    '#description' => t('Include the forum containers in the breadcrumbs.'),
    '#default_value' => isset($arguments['inc_containers']) ? $arguments['inc_containers'] : FALSE,
  );
  return $form;
}