Skip to content
Snippets Groups Projects
Commit a21e9472 authored by Earl Miles's avatar Earl Miles
Browse files

Remove extranous return calls.

parent 4c24ee2d
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
* Callback function to supply a list of content types.
*/
function ctools_node_content_ctools_content_types() {
$items['node_content'] = array(
return array(
'single' => TRUE,
'title' => t('Node content'),
'icon' => 'icon_node.png',
......@@ -24,7 +24,6 @@ function ctools_node_content_ctools_content_types() {
'leave_node_title' => FALSE,
),
);
return $items;
}
/**
......
......@@ -14,7 +14,6 @@ function panels_term_list_panels_content_types() {
'category' => t('Taxonomy term'),
'defaults' => array('title' => '', 'type' => 'child', 'list_type' => 'ul'),
);
return $items;
}
function ctools_term_list_content_type_render($subtype, $conf, $panel_args, $context) {
......
......@@ -7,7 +7,7 @@
*/
function panels_profile_fields_panels_content_types() {
if (module_exists('profile') && !is_null(profile_categories())) {
$items['profile_fields'] = array(
return array(
'single' => TRUE,
'title' => t('Profile category'),
'icon' => 'icon_user.png',
......@@ -17,7 +17,6 @@ function panels_profile_fields_panels_content_types() {
'defaults' => array('title' => '', 'category' => '', 'empty' => ''),
'hook theme' => 'ctools_profile_fields_content_type_theme',
);
return $items;
}
}
......
......@@ -13,7 +13,6 @@ function ctools_user_picture_ctools_content_types() {
'required context' => new ctools_context_required(t('User'), 'user'),
'category' => t('User'),
);
return $items;
}
function ctools_user_picture_content_type_render($subtype, $conf, $panel_args, $context) {
......
......@@ -13,7 +13,6 @@ function ctools_user_profile_ctools_content_types() {
'required context' => new ctools_context_required(t('User'), 'user'),
'category' => t('User'),
);
return $items;
}
function ctools_user_profile_content_type_render($subtype, $conf, $panel_args, $context) {
......
......@@ -15,7 +15,6 @@ function ctools_vocabulary_terms_ctools_content_types() {
'category' => t('Vocabulary'),
'defaults' => array('max_depth' => 0, 'tree' => 1),
);
return $items;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment