function context_admin_term_childless_access_settings in Contextual Administration 6
Same name and namespace in other branches
- 7 plugins/access/term_childless.inc \context_admin_term_childless_access_settings()
1 string reference to 'context_admin_term_childless_access_settings'
- term_childless.inc in plugins/
access/ term_childless.inc - Provides access handler based upon the lack of child terms for the term we're on.
File
- plugins/
access/ term_childless.inc, line 24 - Provides access handler based upon the lack of child terms for the term we're on.
Code
function context_admin_term_childless_access_settings(&$form, &$form_state, $conf) {
$form['settings']['childless'] = array(
'#type' => 'markup',
'#value' => '<p>' . t('Provides a access check against the current term to make sure it is not the parent of any other terms.') . '</p>',
);
}