function ctools_argument_entity_id_ctools_argument_placeholder

1 string reference to 'ctools_argument_entity_id_ctools_argument_placeholder'
entity_id.inc in plugins/arguments/entity_id.inc
Plugin to provide an argument handler for all entity ids.

File

plugins/arguments/entity_id.inc, line 136

Code

function ctools_argument_entity_id_ctools_argument_placeholder($conf) {
    $conf = array(
        '#title' => t('Enter the title or ID of a @entity entity', array(
            '@entity' => $conf['keyword'],
        )),
        '#type' => 'textfield',
        '#maxlength' => 512,
        '#autocomplete_path' => 'ctools/autocomplete/' . $conf['keyword'],
        '#weight' => -10,
    );
    return $conf;
}