function custom_breadcrumbs_paths_form_alter in Custom Breadcrumbs 6.2
Implements hook_form_alter().
File
- custom_breadcrumbs_paths/
custom_breadcrumbs_paths.module, line 292
Code
function custom_breadcrumbs_paths_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'custom_breadcrumbs_admin_settings') {
$form['adv_settings']['custom_breadcrumbs_paths_allow_wildcards'] = array(
'#type' => 'checkbox',
'#title' => t('Use wildcard pattern matching in paths'),
'#default_value' => variable_get('custom_breadcrumbs_paths_allow_wildcards', FALSE),
'#description' => t("If checked, the '*' character can be used as a wildcard to set a custom breadcrumb for all matching paths. For example, foo/bar/* could be used to match every page with a path beginning with foo/bar."),
'#weight' => -20,
);
}
}