Merge pull request #17491 from eileenmcnaughton/toemail
[civicrm-core.git] / tools / extensions / org.civicrm.angularex / angularex.php
index 216105f64611081c456ec962ec2dea8314880bc4..225edb358a79145a276dbb72ebe7f6549e58bad6 100644 (file)
@@ -6,6 +6,7 @@ require_once 'angularex.civix.php';
  * Implementation of hook_civicrm_config
  *
  * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
+ * @param $config
  */
 function angularex_civicrm_config(&$config) {
   _angularex_civix_civicrm_config($config);
@@ -80,6 +81,7 @@ function angularex_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
  * is installed, disabled, uninstalled.
  *
  * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed
+ * @param $entities
  */
 function angularex_civicrm_managed(&$entities) {
   return _angularex_civix_civicrm_managed($entities);
@@ -93,6 +95,7 @@ function angularex_civicrm_managed(&$entities) {
  * Note: This hook only runs in CiviCRM 4.4+.
  *
  * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes
+ * @param $caseTypes
  */
 function angularex_civicrm_caseTypes(&$caseTypes) {
   _angularex_civix_civicrm_caseTypes($caseTypes);
@@ -102,6 +105,7 @@ function angularex_civicrm_caseTypes(&$caseTypes) {
  * Implementation of hook_civicrm_alterSettingsFolders
  *
  * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders
+ * @param null $metaDataFolders
  */
 function angularex_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
   _angularex_civix_civicrm_alterSettingsFolders($metaDataFolders);
@@ -111,5 +115,9 @@ function angularex_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
  * @param $angularModule
  */
 function angularex_civicrm_angularModules(&$angularModule) {
-  $angularModule['example'] = array('ext' => 'org.civicrm.angularex', 'js' => array('js/example.js'));
+  $angularModule['example'] = [
+    'ext' => 'org.civicrm.angularex',
+    'js' => ['js/*.js'],
+    'partials' => ['partials'],
+  ];
 }