Merge pull request #19046 from dwoods-encircle/Resource-URL-helptext-update
[civicrm-core.git] / ang / crmD3.ang.php
index eee0ebd661b799cb264ea5991b3f43745359c9d3..c95c53fd106f40132918a51195ffdbc8f3bde88c 100644 (file)
@@ -1,16 +1,12 @@
 <?php
-// This file declares an Angular module which can be autoloaded
-// in CiviCRM. See also:
-// http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_angularModules
+// This module provides the D3 graphing library
 
-// ODDITY: Only loads if you have CiviMail permissions.
-// ODDITY: Extra resources loaded via CRM_Mailing_Info::getAngularModules.
-
-return array(
+return [
   'ext' => 'civicrm',
-  'js' => array(
+  'basePages' => [],
+  'js' => [
     'ang/crmD3.js',
     'bower_components/d3/d3.min.js',
-  ),
-  'requires' => array(),
-);
+  ],
+  'requires' => [],
+];