You are here

function panels_admin_content_types_node_content in Panels 6.2

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

Return all content types available.

1 string reference to 'panels_admin_content_types_node_content'
panels_node_content_panels_content_types in content_types/node_content.inc
Callback function to supply a list of content types.

File

content_types/node_content.inc, line 24

Code

function panels_admin_content_types_node_content() {
  return array(
    'content' => array(
      'title' => t('Node content'),
      'icon' => 'icon_node.png',
      'path' => panels_get_path('content_types/node'),
      'description' => t('The content of the referenced node.'),
      'required context' => new panels_required_context(t('Node'), 'node'),
      'category' => array(
        t('Node context'),
        -9,
      ),
    ),
  );
}