You are here

function _ctools_default_content_type_content_type in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 plugins/content_types/custom/custom.inc \_ctools_default_content_type_content_type()

Settings for the default custom content type.

The default is the one that allows the user to actually create a type.

2 calls to _ctools_default_content_type_content_type()
ctools_custom_content_type_content_type in plugins/content_types/custom/custom.inc
Return the custom content types with the specified $subtype_id.
ctools_custom_content_type_content_types in plugins/content_types/custom/custom.inc
Return all custom content types available.

File

plugins/content_types/custom/custom.inc, line 63
Custom content type.

Code

function _ctools_default_content_type_content_type() {
  $info = array(
    'name' => 'custom',
    'title' => t('New custom content'),
    'top level' => TRUE,
    'category' => t('Custom'),
    'description' => t('Create a completely custom piece of HTML content.'),
    'edit form' => 'ctools_custom_content_type_edit_form',
    'all contexts' => TRUE,
    'check editable' => 'ctools_custom_content_type_editable',
  );
  return $info;
}