Last active
August 29, 2015 14:24
-
-
Save mmarum-sugarcrm/40f3917c4d2a940490c9 to your computer and use it in GitHub Desktop.
Case Count by Status Dashlet Metadata
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Metadata for the Case Count by Status example dashlet view | |
* | |
* This dashlet is only allowed to appear on the Case module's list view | |
* which is also known as the 'records' layout. | |
*/ | |
$viewdefs['base']['view']['case-count-by-status'] = array( | |
'dashlets' => array( | |
array( | |
//Display label for this dashlet | |
'label' => 'LBL_CASE_COUNT_BY_STATUS', | |
//Description label for this Dashlet | |
'description' => 'LBL_CASE_COUNT_BY_STATUS_DESCRIPTION', | |
'config' => array( | |
), | |
'preview' => array( | |
), | |
//Filter array decides where this dashlet is allowed to appear | |
'filter' => array( | |
//Modules where this dashlet can appear | |
'module' => array( | |
'Cases', | |
), | |
//Views where this dashlet can appear | |
'view' => array( | |
'records', | |
) | |
) | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment