summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmAttachment.ang.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/crm/wp-content/plugins/civicrm/civicrm/ang/crmAttachment.ang.php')
-rw-r--r--www/crm/wp-content/plugins/civicrm/civicrm/ang/crmAttachment.ang.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmAttachment.ang.php b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmAttachment.ang.php
new file mode 100644
index 00000000..e278f75e
--- /dev/null
+++ b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmAttachment.ang.php
@@ -0,0 +1,15 @@
+<?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
+
+return [
+ 'ext' => 'civicrm',
+ 'js' => ['ang/crmAttachment.js'],
+ 'css' => ['ang/crmAttachment.css'],
+ 'partials' => ['ang/crmAttachment'],
+ 'settings' => [
+ 'token' => \CRM_Core_Page_AJAX_Attachment::createToken(),
+ ],
+ 'requires' => ['angularFileUpload', 'crmResource'],
+];