function term_depth_term_depth_ctools_access_summary
Provide a summary description based upon the checked terms.
1 string reference to 'term_depth_term_depth_ctools_access_summary'
- term_depth.inc in term_depth/
plugins/ access/ term_depth.inc - Plugin to provide access control based upon a parent term.
File
-
term_depth/
plugins/ access/ term_depth.inc, line 107
Code
function term_depth_term_depth_ctools_access_summary($conf, $context) {
_term_depth_convert_config_vid_to_vocabulary_name($conf);
$vocab = taxonomy_vocabulary_machine_name_load($conf['vocabulary']);
return t('"@term" is in vocabulary "@vocab" at depth @depth', array(
'@term' => $context->identifier,
'@vocab' => $vocab->name,
'@depth' => $conf['depth'],
));
}