_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().
*
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().
*
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'
- );
- }
-}