3 require_once 'afform_html.civix.php';
4 use CRM_AfformHtml_ExtensionUtil
as E
;
6 if (!defined('AFFORM_HTML_MONACO')) {
7 define('AFFORM_HTML_MONACO', 'bower_components/monaco-editor/min/vs');
11 * Implements hook_civicrm_config().
13 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
15 function afform_html_civicrm_config(&$config) {
16 _afform_html_civix_civicrm_config($config);
20 * Implements hook_civicrm_install().
22 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install
24 function afform_html_civicrm_install() {
25 _afform_html_civix_civicrm_install();
29 * Implements hook_civicrm_postInstall().
31 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_postInstall
33 function afform_html_civicrm_postInstall() {
34 _afform_html_civix_civicrm_postInstall();
38 * Implements hook_civicrm_uninstall().
40 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
42 function afform_html_civicrm_uninstall() {
43 _afform_html_civix_civicrm_uninstall();
47 * Implements hook_civicrm_enable().
49 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
51 function afform_html_civicrm_enable() {
52 _afform_html_civix_civicrm_enable();
56 * Implements hook_civicrm_disable().
58 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
60 function afform_html_civicrm_disable() {
61 _afform_html_civix_civicrm_disable();
65 * Implements hook_civicrm_upgrade().
67 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_upgrade
69 function afform_html_civicrm_upgrade($op, CRM_Queue_Queue
$queue = NULL) {
70 return _afform_html_civix_civicrm_upgrade($op, $queue);
74 * Implements hook_civicrm_entityTypes().
76 * Declare entity types provided by this module.
78 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_entityTypes
80 function afform_html_civicrm_entityTypes(&$entityTypes) {
81 _afform_html_civix_civicrm_entityTypes($entityTypes);