You are here

function hansel_hansel_switch_types in Hansel breadcrumbs 7

Same name and namespace in other branches
  1. 8 hansel.module \hansel_hansel_switch_types()

Implements hook_hansel_switch_types().

See also

_hansel_get_switch_types()

File

./hansel.module, line 61
Hansel module

Code

function hansel_hansel_switch_types() {
  return array(
    'url argument' => array(
      'compare' => 'hansel_switch_url_argument_compare',
      'info' => 'hansel_switch_url_argument_info',
      'config form' => 'hansel_ui_switch_url_argument_config_form',
      'file' => 'hansel.switches.inc',
    ),
    'php' => array(
      'compare' => 'hansel_switch_php_argument_compare',
      'config form' => 'hansel_ui_switch_php_argument_config_form',
      'file' => 'hansel.switches.inc',
    ),
    'node id' => array(
      'compare' => 'hansel_switch_node_id_compare',
      'file' => 'hansel.switches.inc',
    ),
    'node type' => array(
      'compare' => 'hansel_switch_node_type_compare',
      'file' => 'hansel.switches.inc',
    ),
    'node age' => array(
      'compare' => 'hansel_switch_node_age_compare',
      'info' => 'hansel_switch_node_age_info',
      'config form' => 'hansel_ui_switch_node_age_config_form',
      'file' => 'hansel.switches.inc',
    ),
    'path alias' => array(
      'compare' => 'hansel_switch_path_alias_compare',
      'info' => 'hansel_switch_path_alias_info',
      'config form' => 'hansel_ui_switch_path_alias_config_form',
      'file' => 'hansel.switches.inc',
    ),
    'request uri' => array(
      'compare' => 'hansel_switch_request_uri_compare',
      'info' => 'hansel_switch_request_uri_info',
      'config form' => 'hansel_ui_switch_request_uri_config_form',
      'file' => 'hansel.switches.inc',
    ),
  );
}