You are here

function author_pane_author_pane_ctools_content_types in Author Pane 6.2

Same name and namespace in other branches
  1. 6 plugins/content_types/author_pane.inc \author_pane_author_pane_ctools_content_types()

Callback function to supply a list of content types.

File

plugins/content_types/author_pane.inc, line 11
This file provides a CTools content type containing the author pane.

Code

function author_pane_author_pane_ctools_content_types() {
  return array(
    'single' => TRUE,
    'title' => t('Author Pane'),
    'icon' => 'icon_user.png',
    'description' => t('Author related variables gathered from helper modules.'),
    'required context' => new ctools_context_required(t('User'), 'user'),
    'category' => t('Advanced Profile Kit'),
    'defaults' => array(
      'caller' => 'advanced_profile',
      'picture_preset' => '',
    ),
  );
}