Commit | Line | Data |
---|---|---|
8456e727 TO |
1 | <?php |
2 | // This file declares an Angular module which can be autoloaded | |
3 | // in CiviCRM. See also: | |
4 | // http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_angularModules | |
5 | ||
6 | // ODDITY: This only loads if CiviCase is active. | |
7 | ||
8 | CRM_Core_Resources::singleton()->addSetting(array( | |
9 | 'crmCaseType' => array( | |
10 | 'REL_TYPE_CNAME' => CRM_Case_XMLProcessor::REL_TYPE_CNAME, | |
11 | ), | |
12 | )); | |
13 | ||
14 | return array( | |
15 | 'ext' => 'civicrm', | |
16 | 'js' => array('ang/crmCaseType.js'), | |
17 | 'css' => array('ang/crmCaseType.css'), | |
18 | 'partials' => array('ang/crmCaseType'), | |
f687a1d2 | 19 | 'requires' => array('ngRoute', 'ui.utils', 'crmUi', 'unsavedChanges', 'crmUtil', 'crmResource'), |
8456e727 | 20 | ); |