function crumbs_clean_token_values in Crumbs, the Breadcrumbs suite 7.2
Same name and namespace in other branches
- 7 crumbs.module \crumbs_clean_token_values()
Clean tokens so they are URL friendly. Taken directly from pathauto_clean_token_values()
Parameters
$replacements: An array of token replacements that need to be "cleaned" for use in the URL.
$data: An array of objects used to generate the replacements.
$options: An array of options used to generate the replacements.
1 string reference to 'crumbs_clean_token_values'
- crumbs_CrumbsEntityPlugin_TokenEnabled::entityFindCandidate in lib/
CrumbsEntityPlugin/ TokenEnabled.php
File
- ./
crumbs.module, line 159 - Provides an API for building breadcrumbs.
Code
function crumbs_clean_token_values(&$replacements, $data = array(), $options = array()) {
crumbs_Util::cleanTokenValues($replacements, $data, $options);
}