function ctools_term_parent_ctools_access_summary

Provide a summary description based upon the checked terms.

1 string reference to 'ctools_term_parent_ctools_access_summary'
term_parent.inc in plugins/access/term_parent.inc
Plugin to provide access control based upon a parent term.

File

plugins/access/term_parent.inc, line 82

Code

function ctools_term_parent_ctools_access_summary($conf, $context) {
    $vocab = taxonomy_vocabulary_load($conf['vid']);
    return t('"@term" has parent in vocabulary "@vocab"', array(
        '@term' => $context->identifier,
        '@vocab' => $vocab->name,
    ));
}