Merge pull request #21596 from agileware/CIVICRM-1845
[civicrm-core.git] / ext / afform / html / afform_html.php
1 <?php
2
3 require_once 'afform_html.civix.php';
4 use CRM_AfformHtml_ExtensionUtil as E;
5
6 if (!defined('AFFORM_HTML_MONACO')) {
7 define('AFFORM_HTML_MONACO', 'bower_components/monaco-editor/min/vs');
8 }
9
10 /**
11 * Implements hook_civicrm_config().
12 *
13 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
14 */
15 function afform_html_civicrm_config(&$config) {
16 _afform_html_civix_civicrm_config($config);
17 }
18
19 /**
20 * Implements hook_civicrm_install().
21 *
22 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install
23 */
24 function afform_html_civicrm_install() {
25 _afform_html_civix_civicrm_install();
26 }
27
28 /**
29 * Implements hook_civicrm_postInstall().
30 *
31 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_postInstall
32 */
33 function afform_html_civicrm_postInstall() {
34 _afform_html_civix_civicrm_postInstall();
35 }
36
37 /**
38 * Implements hook_civicrm_uninstall().
39 *
40 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
41 */
42 function afform_html_civicrm_uninstall() {
43 _afform_html_civix_civicrm_uninstall();
44 }
45
46 /**
47 * Implements hook_civicrm_enable().
48 *
49 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
50 */
51 function afform_html_civicrm_enable() {
52 _afform_html_civix_civicrm_enable();
53 }
54
55 /**
56 * Implements hook_civicrm_disable().
57 *
58 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
59 */
60 function afform_html_civicrm_disable() {
61 _afform_html_civix_civicrm_disable();
62 }
63
64 /**
65 * Implements hook_civicrm_upgrade().
66 *
67 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_upgrade
68 */
69 function afform_html_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
70 return _afform_html_civix_civicrm_upgrade($op, $queue);
71 }
72
73 /**
74 * Implements hook_civicrm_entityTypes().
75 *
76 * Declare entity types provided by this module.
77 *
78 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_entityTypes
79 */
80 function afform_html_civicrm_entityTypes(&$entityTypes) {
81 _afform_html_civix_civicrm_entityTypes($entityTypes);
82 }