function ctools_plugin_example_simplecontext_content_type_admin_title
1 string reference to 'ctools_plugin_example_simplecontext_content_type_admin_title'
- simplecontext_content_type.inc in ctools_plugin_example/
plugins/ content_types/ simplecontext_content_type.inc - Sample ctools content type that takes advantage of context.
File
-
ctools_plugin_example/
plugins/ content_types/ simplecontext_content_type.inc, line 38
Code
function ctools_plugin_example_simplecontext_content_type_admin_title($subtype, $conf, $context = NULL) {
$output = t('Simplecontext');
if ($conf['override_title'] && !empty($conf['override_title_text'])) {
$output = filter_xss_admin($conf['override_title_text']);
}
return $output;
}