You are here

function panels_admin_content_types_user_profile in Panels 6.2

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

Return all content types available.

1 string reference to 'panels_admin_content_types_user_profile'
panels_user_profile_panels_content_types in content_types/user_profile.inc
Callback function to supply a list of content types.

File

content_types/user_profile.inc, line 56

Code

function panels_admin_content_types_user_profile() {
  return array(
    'description' => array(
      'title' => t('User profile'),
      'icon' => 'icon_user.png',
      'path' => panels_get_path('content_types/user'),
      'description' => t('The profile of a user.'),
      'required context' => new panels_required_context(t('User'), 'user'),
      'category' => array(
        t('User context'),
        -9,
      ),
    ),
  );
}