You are here

function panels_profile_fields_content_type in Panels 6.2

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

Return all content types available.

1 string reference to 'panels_profile_fields_content_type'
panels_profile_fields_panels_content_types in content_types/profile_fields.inc
Callback function to supply a list of content types.

File

content_types/profile_fields.inc, line 75

Code

function panels_profile_fields_content_type() {
  return array(
    'description' => array(
      'title' => t('Profile Category'),
      'icon' => 'icon_user.png',
      'path' => panels_get_path('content_types/user'),
      'description' => t('Profile category contents.'),
      'required context' => new panels_required_context(t('User'), 'user'),
      'category' => array(
        t('User context'),
        -9,
      ),
    ),
  );
}