function _fillpdf_merge_pdf_token_replace in FillPDF 7
Replace tokens.
Parameters
$value:
$token_objects:
$existing_token:
1 call to _fillpdf_merge_pdf_token_replace()
- fillpdf_merge_pdf in ./
fillpdf.module - Constructs a page and sends it to the browser or saves it.
File
- ./
fillpdf.module, line 1025
Code
function _fillpdf_merge_pdf_token_replace($value, $token_objects, &$existing_token) {
$maybe_token = token_replace($value, $token_objects, array(
// The clear option clears any tokens if no token can be generated.
'clear' => TRUE,
'sanitize' => FALSE,
));
// Only overwrite existing token if there's a new value.
if ($maybe_token) {
$existing_token = $maybe_token;
}
}