function oa_users_oa_core_add_panes in Open Atrium Core 7.2
Implements hook_oa_core_add_panes().
File
- modules/
oa_users/ oa_users.module, line 230
Code
function oa_users_oa_core_add_panes() {
$info = array();
$info['user:user:default']['80a6a21b-20e6-4acf-9772-eb089cc6082b'] = array(
'panel' => 'sidebar',
'type' => 'oa_core_user_spaces',
'subtype' => 'oa_core_user_spaces',
'configuration' => array(
'featured_spaces' => 1,
'context' => 'panelizer',
'override_title' => 0,
'override_title_text' => '',
'image_size' => 'none',
'show_description' => 0,
'show_sections' => 0,
'tabs' => array(
'Favorite' => 'Favorite',
'Memberships' => 'Memberships',
'All' => 0,
),
'link_class' => 'btn',
'show_links' => 0,
'num_per_page' => 15,
),
'style' => array(
'settings' => NULL,
'style' => 'oa_styles_oa_pane',
),
'position' => 0,
);
$info['user:user:default']['d3a2a9fb-f88a-4730-bfab-c36f4e0af395'] = array(
'panel' => 'sidebar',
'type' => 'entity_field',
'subtype' => 'user:field_user_about',
'configuration' => array(
'label' => 'hidden',
'formatter' => 'text_default',
'delta_limit' => 0,
'delta_offset' => 0,
'delta_reversed' => FALSE,
'formatter_settings' => array(),
'context' => array(),
'override_title' => 0,
'override_title_text' => '',
),
'position' => 2,
);
// Remove the profile widget added by panopoly
$info['user:user:default']['d76e85cd-4625-4a52-a17b-e5c65e1a0247'] = array();
return $info;
}