You are here

function hook_ctools_cleanstring_path_breadcrumbs_url_alter in Path Breadcrumbs 7.3

Alter CTools cleanstring settings for Path Breadcrumbs URLs.

See also

ctools_cleanstring() function for more info.

File

./path_breadcrumbs.api.php, line 137
Hooks provided by Path Breadcrumbs module.

Code

function hook_ctools_cleanstring_path_breadcrumbs_url_alter(&$clean_settings) {

  // Disable transliteration (https://drupal.org/project/transliteration).
  $clean_settings['transliterate'] = FALSE;

  // Allow non-ASCII symbols.
  $clean_settings['reduce ascii'] = FALSE;

  // Use underscore as a separator.
  $clean_settings['separator'] = '_';
}