function ctools_custom_content_type_editable in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 plugins/content_types/custom/custom.inc \ctools_custom_content_type_editable()
1 string reference to 'ctools_custom_content_type_editable'
- _ctools_default_content_type_content_type in plugins/
content_types/ custom/ custom.inc - Settings for the default custom content type.
File
- plugins/
content_types/ custom/ custom.inc, line 149 - Custom content type.
Code
function ctools_custom_content_type_editable($content_type, $subtype, $conf) {
if ($subtype['name'] == 'custom' && !empty($conf['name'])) {
return FALSE;
}
return TRUE;
}