3 require_once 'afform_mock.civix.php';
4 use CRM_AfformMock_ExtensionUtil
as E
;
7 * Implements hook_civicrm_config().
9 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
11 function afform_mock_civicrm_config(&$config) {
12 _afform_mock_civix_civicrm_config($config);
16 * Implements hook_civicrm_install().
18 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install
20 function afform_mock_civicrm_install() {
21 _afform_mock_civix_civicrm_install();
25 * Implements hook_civicrm_postInstall().
27 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_postInstall
29 function afform_mock_civicrm_postInstall() {
30 _afform_mock_civix_civicrm_postInstall();
34 * Implements hook_civicrm_uninstall().
36 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
38 function afform_mock_civicrm_uninstall() {
39 _afform_mock_civix_civicrm_uninstall();
43 * Implements hook_civicrm_enable().
45 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
47 function afform_mock_civicrm_enable() {
48 _afform_mock_civix_civicrm_enable();
52 * Implements hook_civicrm_disable().
54 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
56 function afform_mock_civicrm_disable() {
57 _afform_mock_civix_civicrm_disable();
61 * Implements hook_civicrm_upgrade().
63 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_upgrade
65 function afform_mock_civicrm_upgrade($op, CRM_Queue_Queue
$queue = NULL) {
66 return _afform_mock_civix_civicrm_upgrade($op, $queue);
70 * Implements hook_civicrm_managed().
72 * Generate a list of entities to create/deactivate/delete when this module
73 * is installed, disabled, uninstalled.
75 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed
77 function afform_mock_civicrm_managed(&$entities) {
78 _afform_mock_civix_civicrm_managed($entities);
82 * Implements hook_civicrm_angularModules().
84 * Generate a list of Angular modules.
86 * Note: This hook only runs in CiviCRM 4.5+. It may
87 * use features only available in v4.6+.
89 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_angularModules
91 function afform_mock_civicrm_angularModules(&$angularModules) {
92 _afform_mock_civix_civicrm_angularModules($angularModules);
96 * Implements hook_civicrm_entityTypes().
98 * Declare entity types provided by this module.
100 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_entityTypes
102 function afform_mock_civicrm_entityTypes(&$entityTypes) {
103 _afform_mock_civix_civicrm_entityTypes($entityTypes);