cartable.php 6.83 KiB
<?php
require_once 'cartable.civix.php';
// phpcs:disable
use CRM_Cartable_ExtensionUtil as E;
// phpcs:enable
/**
 * Implements hook_civicrm_config().
 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config/
function cartable_civicrm_config(&$config) {
  _cartable_civix_civicrm_config($config);
/**
 * Implements hook_civicrm_xmlMenu().
 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
function cartable_civicrm_xmlMenu(&$files) {
  _cartable_civix_civicrm_xmlMenu($files);
/**
 * Implements hook_civicrm_install().
 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install
function cartable_civicrm_install() {
  _cartable_civix_civicrm_install();
/**
 * Implements hook_civicrm_postInstall().
 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_postInstall
function cartable_civicrm_postInstall() {
  _cartable_civix_civicrm_postInstall();
/**
 * Implements hook_civicrm_uninstall().
 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_uninstall
function cartable_civicrm_uninstall() {
  _cartable_civix_civicrm_uninstall();
/**
 * Implements hook_civicrm_enable().
 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable
function cartable_civicrm_enable() {
  _cartable_civix_civicrm_enable();
/**
 * Implements hook_civicrm_disable().
 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_disable
function cartable_civicrm_disable() {
  _cartable_civix_civicrm_disable();
7172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
/** * Implements hook_civicrm_upgrade(). * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade */ function cartable_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) { return _cartable_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 https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_managed */ function cartable_civicrm_managed(&$entities) { _cartable_civix_civicrm_managed($entities); } /** * Implements hook_civicrm_caseTypes(). * * Add CiviCase types provided by this extension. * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_caseTypes */ function cartable_civicrm_caseTypes(&$caseTypes) { _cartable_civix_civicrm_caseTypes($caseTypes); } /** * Implements hook_civicrm_angularModules(). * * Add Angular modules provided by this extension. * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_angularModules */ function cartable_civicrm_angularModules(&$angularModules) { // Auto-add module files from ./ang/*.ang.php _cartable_civix_civicrm_angularModules($angularModules); } /** * Implements hook_civicrm_alterSettingsFolders(). * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_alterSettingsFolders */ function cartable_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) { _cartable_civix_civicrm_alterSettingsFolders($metaDataFolders); } /** * Implements hook_civicrm_entityTypes(). * * Declare entity types provided by this module. * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes */ function cartable_civicrm_entityTypes(&$entityTypes) { _cartable_civix_civicrm_entityTypes($entityTypes); } /** * Implements hook_civicrm_themes(). */ function cartable_civicrm_themes(&$themes) { _cartable_civix_civicrm_themes($themes); }