function context_admin_term_parent_access_summary in Contextual Administration 6
Provide a summary description based upon the checked node_types.
1 string reference to 'context_admin_term_parent_access_summary'
- term_parent.inc in plugins/
access/ term_parent.inc - Plugin to provide access control based upon a term's parent tid.
File
- plugins/
access/ term_parent.inc, line 87 - Plugin to provide access control based upon a term's parent tid.
Code
function context_admin_term_parent_access_summary($conf, $context) {
if (!isset($conf['parent'])) {
return t('No parent context has been selected for @identifier', array(
'@identifier' => $context->identifier,
));
}
return t('@identifier is a child of term "@parent"', array(
'@parent' => $conf['parent'],
'@identifier' => $context->identifier,
));
}