Merge pull request #12583 from omarabuhussein/dev/core#288
[civicrm-core.git] / ang / crmCaseType.ang.php
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([
9 'crmCaseType' => [
10 'REL_TYPE_CNAME' => CRM_Case_XMLProcessor::REL_TYPE_CNAME,
11 ],
12 ]);
13
14 return [
15 'ext' => 'civicrm',
16 'js' => ['ang/crmCaseType.js'],
17 'css' => ['ang/crmCaseType.css'],
18 'partials' => ['ang/crmCaseType'],
19 'requires' => ['ngRoute', 'ui.utils', 'crmUi', 'unsavedChanges', 'crmUtil', 'crmResource'],
20 ];