function ctools_plugin_example_arg_length_ctools_access_summary

Provide a summary description based upon the checked roles.

1 string reference to 'ctools_plugin_example_arg_length_ctools_access_summary'
arg_length.inc in ctools_plugin_example/plugins/access/arg_length.inc
Plugin to provide access control/visibility based on length of simplecontext argument (in URL).

File

ctools_plugin_example/plugins/access/arg_length.inc, line 60

Code

function ctools_plugin_example_arg_length_ctools_access_summary($conf, $context) {
    return t('Simpletext argument must be !comp @length characters', array(
        '!comp' => $conf['greater_than'] ? 'greater than' : 'less than or equal to',
        '@length' => $conf['arg_length'],
    ));
}