Merge pull request #23624 from mattwire/sqlgroup
[civicrm-core.git] / ext / afform / mock / afform_mock.php
index b101e0d2d10baf073894f55a3586eba65a23070e..3f6d87a1a9ad138f696c5c22eaca50e7545875f8 100644 (file)
@@ -12,15 +12,6 @@ function afform_mock_civicrm_config(&$config) {
   _afform_mock_civix_civicrm_config($config);
 }
 
-/**
- * Implements hook_civicrm_xmlMenu().
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
- */
-function afform_mock_civicrm_xmlMenu(&$files) {
-  _afform_mock_civix_civicrm_xmlMenu($files);
-}
-
 /**
  * Implements hook_civicrm_install().
  *
@@ -75,54 +66,6 @@ function afform_mock_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
   return _afform_mock_civix_civicrm_upgrade($op, $queue);
 }
 
-/**
- * Implements hook_civicrm_managed().
- *
- * Generate a list of entities to create/deactivate/delete when this module
- * is installed, disabled, uninstalled.
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed
- */
-function afform_mock_civicrm_managed(&$entities) {
-  _afform_mock_civix_civicrm_managed($entities);
-}
-
-/**
- * Implements hook_civicrm_caseTypes().
- *
- * Generate a list of case-types.
- *
- * Note: This hook only runs in CiviCRM 4.4+.
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes
- */
-function afform_mock_civicrm_caseTypes(&$caseTypes) {
-  _afform_mock_civix_civicrm_caseTypes($caseTypes);
-}
-
-/**
- * Implements hook_civicrm_angularModules().
- *
- * Generate a list of Angular modules.
- *
- * Note: This hook only runs in CiviCRM 4.5+. It may
- * use features only available in v4.6+.
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_angularModules
- */
-function afform_mock_civicrm_angularModules(&$angularModules) {
-  _afform_mock_civix_civicrm_angularModules($angularModules);
-}
-
-/**
- * Implements hook_civicrm_alterSettingsFolders().
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders
- */
-function afform_mock_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
-  _afform_mock_civix_civicrm_alterSettingsFolders($metaDataFolders);
-}
-
 /**
  * Implements hook_civicrm_entityTypes().
  *
@@ -133,38 +76,3 @@ function afform_mock_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
 function afform_mock_civicrm_entityTypes(&$entityTypes) {
   _afform_mock_civix_civicrm_entityTypes($entityTypes);
 }
-
-/**
- * Implements hook_civicrm_themes().
- */
-function afform_mock_civicrm_themes(&$themes) {
-  _afform_mock_civix_civicrm_themes($themes);
-}
-
-// --- 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_mock_civicrm_preProcess($formName, &$form) {
-
-} // */
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_navigationMenu
- *
-function afform_mock_civicrm_navigationMenu(&$menu) {
-  _afform_mock_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_mock_civix_navigationMenu($menu);
-} // */