Skip to content

Instantly share code, notes, and snippets.

@proofek
Last active December 18, 2015 16:19
Show Gist options
  • Save proofek/5810450 to your computer and use it in GitHub Desktop.
Save proofek/5810450 to your computer and use it in GitHub Desktop.
<?php
$layout_defs['Demo_Suppliers']['subpanel_setup']['demo_suppliercontactdetails'] = array(
'order' => 130,
'module' => 'Demo_SupplierContactDetails',
'get_subpanel_data' => 'demo_suppliercontactdetails',
'sort_order' => 'asc',
'sort_by' => 'name',
'subpanel_name' => 'Demo_Suppliers_subpanel_demo_suppliercontactdetails',
'title_key' => 'LBL_DEMO_SUPPLIERCONTACTDETAILS_SUBPANEL_TITLE',
'top_buttons' => array (
0 => array (
'widget_class' => 'SubPanelTopButtonQuickCreate',
),
1 => array (
'widget_class' => 'SubPanelTopSelectButton',
'mode' => 'MultiSelect',
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment