function panels_profile_fields_content_type in Panels 5.2
Same name and namespace in other branches
- 6.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 88
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,
),
),
);
}