- civicrm_api3_verify_one_mandatory($params,
- NULL,
- array(
- 'contact_id',
- )
- );
- $bao = new CRM_Core_BAO_Dashboard();
- $dashboardContact = CRM_Core_BAO_Dashboard::getContactDashlets(TRUE, CRM_Utils_Array::value('contact_id', $params));
- return civicrm_api3_create_success($dashboardContact, $params, 'dashboard_contact', 'get');