Merge pull request #19498 from eileenmcnaughton/complete_order_test
[civicrm-core.git] / ext / afform / html / afform_html.php
index 815a2b0beebc0d8202e5e27805686572ede1d54f..0b75ec68d24331ed5503deedac9045c9be24efc4 100644 (file)
@@ -3,6 +3,10 @@
 require_once 'afform_html.civix.php';
 use CRM_AfformHtml_ExtensionUtil as E;
 
+if (!defined('AFFORM_HTML_MONACO')) {
+  define('AFFORM_HTML_MONACO', 'bower_components/monaco-editor/min/vs');
+}
+
 /**
  * Implements hook_civicrm_config().
  *
@@ -134,30 +138,9 @@ function afform_html_civicrm_entityTypes(&$entityTypes) {
   _afform_html_civix_civicrm_entityTypes($entityTypes);
 }
 
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_preProcess
- *
-function afform_html_civicrm_preProcess($formName, &$form) {
-
-} // */
-
 /**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_navigationMenu
- *
-function afform_html_civicrm_navigationMenu(&$menu) {
-  _afform_html_civix_insert_navigation_menu($menu, 'Mailings', array(
-    'label' => E::ts('New subliminal message'),
-    'name' => 'mailing_subliminal_message',
-    'url' => 'civicrm/mailing/subliminal',
-    'permission' => 'access CiviMail',
-    'operator' => 'OR',
-    'separator' => 0,
-  ));
-  _afform_html_civix_navigationMenu($menu);
-} // */
+ * Implements hook_civicrm_themes().
+ */
+function afform_html_civicrm_themes(&$themes) {
+  _afform_html_civix_civicrm_themes($themes);
+}