You are here

function panels_admin_content_types_custom in Panels 6.2

Same name and namespace in other branches
  1. 5.2 content_types/custom.inc \panels_admin_content_types_custom()

Return all content types available.

1 string reference to 'panels_admin_content_types_custom'
panels_custom_panels_content_types in content_types/custom.inc
Callback function to supply a list of content types.

File

content_types/custom.inc, line 68

Code

function panels_admin_content_types_custom() {
  return array(
    'custom' => array(
      'title' => t('New custom content'),
      'icon' => 'icon_block_custom.png',
      'path' => panels_get_path('content_types/custom'),
      'description' => t('Create a completely custom piece of HTML content.'),
      'category' => array(
        t('Custom'),
        -10,
      ),
    ),
  );
}