function ctools_string_path_placeholder

Switch the placeholder based upon user settings.

1 string reference to 'ctools_string_path_placeholder'
string.inc in plugins/arguments/string.inc
Plugin to provide an argument handler for a raw string.

File

plugins/arguments/string.inc, line 57

Code

function ctools_string_path_placeholder($argument) {
    if (empty($argument['settings']['use_tail'])) {
        return '%pm_arg';
    }
    else {
        return '%pm_arg_tail';
    }
}