You are here

function panels_admin_content_types_node_attachments in Panels 6.2

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

Return all content types available.

1 string reference to 'panels_admin_content_types_node_attachments'
panels_node_attachments_panels_content_types in content_types/node_attachments.inc
Callback function to supply a list of content types.

File

content_types/node_attachments.inc, line 42

Code

function panels_admin_content_types_node_attachments() {
  return array(
    'node_type' => array(
      'title' => t('Attached files'),
      'icon' => 'icon_node.png',
      'path' => panels_get_path('content_types/node'),
      'description' => t('A list of files attached to the node.'),
      'required context' => new panels_required_context(t('Node'), 'node'),
      'category' => array(
        t('Node context'),
        -9,
      ),
    ),
  );
}