Merge pull request #24094 from demeritcowboy/guzmock
[civicrm-core.git] / ext / afform / html / afform_html.php
index c7dd357d7ab2a8add95b4737bb0de94d558763d9..4410f3eb177f95b04b613c858e721bcdad182d3f 100644 (file)
@@ -16,15 +16,6 @@ function afform_html_civicrm_config(&$config) {
   _afform_html_civix_civicrm_config($config);
 }
 
-/**
- * Implements hook_civicrm_xmlMenu().
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
- */
-function afform_html_civicrm_xmlMenu(&$files) {
-  _afform_html_civix_civicrm_xmlMenu($files);
-}
-
 /**
  * Implements hook_civicrm_install().
  *
@@ -79,54 +70,6 @@ function afform_html_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
   return _afform_html_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_html_civicrm_managed(&$entities) {
-  _afform_html_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_html_civicrm_caseTypes(&$caseTypes) {
-  _afform_html_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_html_civicrm_angularModules(&$angularModules) {
-  _afform_html_civix_civicrm_angularModules($angularModules);
-}
-
-/**
- * Implements hook_civicrm_alterSettingsFolders().
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders
- */
-function afform_html_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
-  _afform_html_civix_civicrm_alterSettingsFolders($metaDataFolders);
-}
-
 /**
  * Implements hook_civicrm_entityTypes().
  *
@@ -137,26 +80,3 @@ function afform_html_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
 function afform_html_civicrm_entityTypes(&$entityTypes) {
   _afform_html_civix_civicrm_entityTypes($entityTypes);
 }
-
-/**
- * Implements hook_civicrm_themes().
- */
-function afform_html_civicrm_themes(&$themes) {
-  _afform_html_civix_civicrm_themes($themes);
-}
-
-/**
- * Implements hook_civicrm_check().
- */
-function afform_html_civicrm_check(&$messages) {
-  $dir = E::path(AFFORM_HTML_MONACO);
-  if (!file_exists($dir)) {
-    $messages[] = new CRM_Utils_Check_Message(
-      'afform_html_monaco',
-      ts('Afform HTML is missing its "bower_components" folder. Please consult the README.md for current installation instructions.'),
-      ts('Afform HTML: Packages are missing'),
-      \Psr\Log\LogLevel::CRITICAL,
-      'fa-chain-broken'
-    );
-  }
-}