function ctools_term_ctools_argument_placeholder

Form fragment to get an argument to convert a placeholder for preview.

1 string reference to 'ctools_term_ctools_argument_placeholder'
term.inc in plugins/arguments/term.inc
Plugin to provide an argument handler for a Taxonomy term.

File

plugins/arguments/term.inc, line 150

Code

function ctools_term_ctools_argument_placeholder($conf) {
    switch ($conf['input_form']) {
        case 'tid':
        default:
            return array(
                '#type' => 'textfield',
                '#description' => t('Enter a taxonomy term ID.'),
            );
        case 'term':
            return array(
                '#type' => 'textfield',
                '#description' => t('Enter a taxonomy term name.'),
            );
    }
}