CRM_Utils_Hook_Drupal8
class CRM_Utils_Hook_Drupal8 extends CRM_Utils_Hook_DrupalBase
Constants
DASHBOARD_BELOW |
|
DASHBOARD_ABOVE |
|
DASHBOARD_REPLACE |
|
SUMMARY_BELOW |
|
SUMMARY_ABOVE |
|
SUMMARY_REPLACE |
|
Properties
static | $_nullObject | from CRM_Utils_Hook | |
protected CRM_Utils_Cache_Interface | $cache | from CRM_Utils_Hook |
Methods
Constructor and getter for the singleton instance.
No description
Invoke a hook.
No description
Build the list of modules to be processed for hooks.
No description
This hook is called before a db write on some core objects.
This hook is called after a db write on some core objects.
This hook retrieves links from other modules and injects it into.
This hook is invoked during the CiviCRM form preProcess phase.
This hook is invoked when building a CiviCRM form. This hook should also be used to set the default values of a form element
This hook is invoked when a CiviCRM form is submitted. If the module has injected any form elements, this hook should save the values in the database
This hook is invoked during all CiviCRM form validation. An array of errors detected is returned. Else we assume validation succeeded.
This hook is called after a db write on a custom table.
This hook is called when composing the ACL where clause to restrict visibility of contacts to the logged in user
This hook is called when composing the ACL where clause to restrict visibility of contacts to the logged in user
This hook is called when building the menu table.
(Experimental) This hook is called when build the menu table.
This hook is called for declaring managed entities via API.
This hook is called when rendering the dashboard (q=civicrm/dashboard)
This hook is called before storing recently viewed items.
Determine how many other records refer to a given record.
This hook is called when building the amount structure for a Contribution or Event Page.
This hook is called when building the state list for a particular country.
This hook is called when rendering the tabs for a contact (q=civicrm/contact/view)c
This hook is called when rendering the tabs used for events and potentially contribution pages, etc.
This hook is called when sending an email / printing labels
This hook is called when sending an email / printing labels to get the values for all the tokens returned by the 'tokens' hook
This hook is called before a CiviCRM Page is rendered. You can use this hook to insert smarty variables in a template
This hook is called after a copy of an object has been made. The current objects are Event, Contribution Page and UFGroup
This hook is called when a contact unsubscribes from a mailing. It allows modules to override what the contacts are removed from.
This hook is called when CiviCRM needs to edit/display a custom field with options
Hook for modifying field options
This hook is called to display the list of actions allowed after doing a search.
This hook is called when composing a mailing. You can include / exclude other groups as needed.
(Experimental) Modify the list of template-types used for CiviMail composition.
This hook is called when composing the array of membershipTypes and their cost during a membership registration (new or renewal).
This hook is called when rendering the contact summary.
Use this hook to populate the list of contacts returned by Contact Reference custom fields.
Hook definition for altering payment parameters before talking to a payment processor back end.
This hook is called when an email is about to be sent by CiviCRM.
This hook is called when membership status is being calculated.
This hook is called after getting the content of the mail and before tokenizing it.
This hook is called when rendering the Manage Case screen.
This hook is called when locating CiviCase types.
This hook is called soon after the CRM_Core_Config object has ben initialized.
This hooks allows to change option values.
This hook allows modification of the navigation menu.
This hook allows modification of the data used to perform merging of duplicates.
This hook allows modification of the data calculated for merging locations.
This hook provides a way to override the default privacy behavior for notes.
This hook is called before record is exported as CSV.
This hook allows modification of the queries constructed from dupe rules.
This hook is called AFTER EACH email has been processed by the script bin/EmailProcessor.php
This hook is called after a row has been processed and the record (and associated records imported
This hook is called when API permissions are checked (cf. civicrm_api3_api_check_permission() in api/v3/utils.php and _civicrm_api3_permissions() in CRM/Core/DAO/permissions.php).
This hook allows user to customize context menu Actions on contact summary page.
This hook is called from CRM_Core_Selector_Controller through which all searches in civicrm go.
This hook is called when uf groups are being built for a module.
This hook is called when we are determining the contactID for a specific email address
Hook definition for altering the generation of Mailing Labels.
This hooks allows alteration of generated page content.
This hooks allows alteration of the tpl file used to generate content. It differs from the altercontent hook as the content has already been rendered through the tpl at that point
This hook collects the trigger definition from all components.
This hook allows changes to the spec of which tables to log.
This hook is called to drive database upgrades for extension-modules.
This hook is called when an email has been successfully sent by CiviCRM, but not on an error.
This hook is called when a CiviMail mailing has completed
This hook is called when Settings specifications are loaded.
This hook is called when Settings have been loaded from the xml It is an opportunity for hooks to alter the data
This hook is called before running an api call.
This hook is called when loading CMS permissions; use this hook to modify the array of system permissions for CiviCRM.
This hook is called when checking permissions; use this hook to dynamically escalate user permissions in certain use cases (cf. CRM-19256).
This hook is called for declaring managed entities via API.
This hook is called while preparing a profile form.
This hook is called while validating a profile form submission.
This hook is called processing a valid profile form submission.
This hook is called while preparing a read-only profile screen
This hook is called while preparing a list of contacts (based on a profile)
This hook is invoked when building a CiviCRM name badge.
This hook is called before encoding data in barcode.
Modify or replace the Mailer object used for outgoing mail.
Deprecated: Misnamed version of alterMailer(). Remove post-4.7.x.
This hook is called while building the core search query, so hook implementers can provide their own query objects which alters/extends core search.
This hook is called while viewing contact dashboard.
This hook is called before a case merge (or a case reassign)
This hook is called after a case merge (or a case reassign)
Issue CRM-14276 Add a hook for altering the display name
EXPERIMENTAL: This hook allows one to register additional Angular modules
This hook fires whenever a record in a case changes.
Modify the CiviCRM container - add new services, parameters, extensions, etc.
This hook is called when a query string of the CSV Batch export is generated.
This hook is called to alter Deferred revenue item values just before they are inserted in civicrm_financial_trxn table
This hook is called when the entries of the CSV Batch export are mapped.
This hook is called when core resources are being loaded
Allows the list of filters on the EntityRef widget to be altered.
This hook is called for bypass a few civicrm urls from IDS check.
This hook is called when a geocoder's format method is called.
Build the list of modules to be processed for hooks.
Details
in CRM_Utils_Hook at line 83
static CRM_Utils_Hook
singleton(bool $fresh = FALSE)
Constructor and getter for the singleton instance.
in CRM_Utils_Hook at line 95
__construct()
CRM_Utils_Hook constructor.
in CRM_Utils_Hook_DrupalBase at line 76
mixed
invokeViaUF(int $numParams, mixed $arg1, mixed $arg2, mixed $arg3, mixed $arg4, mixed $arg5, mixed $arg6, string $fnSuffix)
in CRM_Utils_Hook at line 154
mixed
invoke(array|int $names, mixed $arg1, mixed $arg2, mixed $arg3, mixed $arg4, mixed $arg5, mixed $arg6, mixed $fnSuffix)
Invoke a hook.
This is a transitional adapter. It supports the legacy syntax but also accepts enough information to support Symfony Event dispatching.
in CRM_Utils_Hook at line 186
array|bool
commonInvoke(array $numParams, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6, $fnSuffix, $fnPrefix)
in CRM_Utils_Hook at line 204
commonBuildModuleList(string $fnPrefix)
Build the list of modules to be processed for hooks.
in CRM_Utils_Hook at line 237
array|bool
runHooks($civiModules, $fnSuffix, array $numParams, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6)
in CRM_Utils_Hook at line 310
requireCiviModules($moduleList)
in CRM_Utils_Hook at line 341
static null
pre(string $op, string $objectName, int $id, array $params)
This hook is called before a db write on some core objects.
This hook does not allow the abort of the operation
in CRM_Utils_Hook at line 363
static mixed
post(string $op, string $objectName, int $objectId, object $objectRef = NULL)
This hook is called after a db write on some core objects.
in CRM_Utils_Hook at line 389
static null
links(string $op, string $objectName, int $objectId, array $links, int $mask = NULL, array $values = array())
This hook retrieves links from other modules and injects it into.
the view contact tabs
in CRM_Utils_Hook at line 404
static null
preProcess(string $formName, CRM_Core_Form $form)
This hook is invoked during the CiviCRM form preProcess phase.
in CRM_Utils_Hook at line 421
static null
buildForm(string $formName, CRM_Core_Form $form)
This hook is invoked when building a CiviCRM form. This hook should also be used to set the default values of a form element
in CRM_Utils_Hook at line 440
static null
postProcess(string $formName, CRM_Core_Form $form)
This hook is invoked when a CiviCRM form is submitted. If the module has injected any form elements, this hook should save the values in the database
in CRM_Utils_Hook at line 462
static mixed
validateForm(string $formName, array $fields, array $files, array $form, array $errors)
This hook is invoked during all CiviCRM form validation. An array of errors detected is returned. Else we assume validation succeeded.
in CRM_Utils_Hook at line 483
static null
custom(string $op, string $groupID, object $entityID, array $params)
This hook is called after a db write on a custom table.
in CRM_Utils_Hook at line 506
static null
aclWhereClause(int $type, array $tables, array $whereTables, int $contactID, string $where)
This hook is called when composing the ACL where clause to restrict visibility of contacts to the logged in user
in CRM_Utils_Hook at line 529
static null
aclGroup(int $type, int $contactID, string $tableName, array $allGroups, array $currentGroups)
This hook is called when composing the ACL where clause to restrict visibility of contacts to the logged in user
in CRM_Utils_Hook at line 539
static mixed
selectWhereClause(string|CRM_Core_DAO $entity, array $clauses)
in CRM_Utils_Hook at line 556
static null
xmlMenu(array $files)
This hook is called when building the menu table.
in CRM_Utils_Hook at line 571
static null
alterMenu(array $items)
(Experimental) This hook is called when build the menu table.
in CRM_Utils_Hook at line 598
static null
managed(array $entities)
This hook is called for declaring managed entities via API.
in CRM_Utils_Hook at line 617
static string
dashboard(int $contactID, int $contentPlacement = self::DASHBOARD_BELOW)
This hook is called when rendering the dashboard (q=civicrm/dashboard)
in CRM_Utils_Hook at line 643
static array
recent(array $recentArray)
This hook is called before storing recently viewed items.
in CRM_Utils_Hook at line 664
static mixed
referenceCounts(CRM_Core_DAO $dao, array $refCounts)
Determine how many other records refer to a given record.
in CRM_Utils_Hook at line 683
static null
buildAmount(int $pageType, CRM_Core_Form $form, array $amount)
This hook is called when building the amount structure for a Contribution or Event Page.
in CRM_Utils_Hook at line 697
static null
buildStateProvinceForCountry(array $countryID, $states)
This hook is called when building the state list for a particular country.
in CRM_Utils_Hook at line 715
static null
tabs(array $tabs, int $contactID)
deprecated
deprecated
This hook is called when rendering the tabs for a contact (q=civicrm/contact/view)c
in CRM_Utils_Hook at line 734
static null
tabset(string $tabsetName, array $tabs, array $context)
This hook is called when rendering the tabs used for events and potentially contribution pages, etc.
in CRM_Utils_Hook at line 748
static null
tokens(array $tokens)
This hook is called when sending an email / printing labels
in CRM_Utils_Hook at line 771
static null
tokenValues(array $details, array $contactIDs, int $jobID = NULL, array $tokens = array(), string $className = NULL)
This hook is called when sending an email / printing labels to get the values for all the tokens returned by the 'tokens' hook
in CRM_Utils_Hook at line 791
static null
pageRun(object $page)
This hook is called before a CiviCRM Page is rendered. You can use this hook to insert smarty variables in a template
in CRM_Utils_Hook at line 809
static null
copy(string $objectName, object $object)
This hook is called after a copy of an object has been made. The current objects are Event, Contribution Page and UFGroup
in CRM_Utils_Hook at line 834
static mixed
unsubscribeGroups(string $op, int $mailingId, int $contactId, array|int $groups, array|int $baseGroups)
This hook is called when a contact unsubscribes from a mailing. It allows modules to override what the contacts are removed from.
in CRM_Utils_Hook at line 859
static mixed
customFieldOptions(int $customFieldID, array $options, bool $detailedFormat = FALSE, array $selectAttributes = array())
deprecated
deprecated
This hook is called when CiviCRM needs to edit/display a custom field with options
in CRM_Utils_Hook at line 877
static mixed
fieldOptions(string $entity, string $field, array $options, array $params)
Hook for modifying field options
in CRM_Utils_Hook at line 903
static mixed
searchTasks(string $objectType, array $tasks)
This hook is called to display the list of actions allowed after doing a search.
This allows the module developer to inject additional actions or to remove existing actions.
in CRM_Utils_Hook at line 916
static mixed
eventDiscount(mixed $form, array $params)
in CRM_Utils_Hook at line 935
static mixed
mailingGroups(mixed $form, array $groups, array $mailings)
This hook is called when composing a mailing. You can include / exclude other groups as needed.
in CRM_Utils_Hook at line 952
static mixed
mailingTemplateTypes(array $types)
(Experimental) Modify the list of template-types used for CiviMail composition.
in CRM_Utils_Hook at line 973
static mixed
membershipTypeValues(mixed $form, array $membershipTypes)
This hook is called when composing the array of membershipTypes and their cost during a membership registration (new or renewal).
Note the hook is called on initial page load and also reloaded after submit (PRG pattern). You can use it to alter the membership types when first loaded, or after submission (for example if you want to gather data in the form and use it to alter the fees).
in CRM_Utils_Hook at line 993
static string
summary(int $contactID, mixed $content, int $contentPlacement = self::SUMMARY_BELOW)
This hook is called when rendering the contact summary.
in CRM_Utils_Hook at line 1024
static mixed
contactListQuery(mixed $query, string $queryText, string $context, int $id)
Use this hook to populate the list of contacts returned by Contact Reference custom fields.
By default, Contact Reference fields will search on and return all CiviCRM contacts. If you want to limit the contacts returned to a specific group, or some other criteria - you can override that behavior by providing a SQL query that returns some subset of your contacts. The hook is called when the query is executed to get the list of contacts to display.
in CRM_Utils_Hook at line 1053
static mixed
alterPaymentProcessorParams(CRM_Core_Payment $paymentObj, array $rawParams, array $cookedParams)
Hook definition for altering payment parameters before talking to a payment processor back end.
Definition will look like this:
function hook_civicrm_alterPaymentProcessorParams( $paymentObj, &$rawParams, &$cookedParams );
in CRM_Utils_Hook at line 1075
static mixed
alterMailParams(array $params, string $context = NULL)
This hook is called when an email is about to be sent by CiviCRM.
in CRM_Utils_Hook at line 1100
static mixed
alterCalculatedMembershipStatus(array $membershipStatus, array $arguments, array $membership)
This hook is called when membership status is being calculated.
in CRM_Utils_Hook at line 1115
static mixed
alterMailContent(array $content)
This hook is called after getting the content of the mail and before tokenizing it.
in CRM_Utils_Hook at line 1132
static array
caseSummary(int $caseID)
This hook is called when rendering the Manage Case screen.
in CRM_Utils_Hook at line 1146
static mixed
caseTypes(array $caseTypes)
This hook is called when locating CiviCase types.
in CRM_Utils_Hook at line 1160
static mixed
config(CRM_Core_Config|array $config)
This hook is called soon after the CRM_Core_Config object has ben initialized.
You can use this hook to modify the config object and hence behavior of CiviCRM dynamically.
in CRM_Utils_Hook at line 1179
static mixed
optionValues(array $options, string $groupName)
deprecated
deprecated
This hooks allows to change option values.
in CRM_Utils_Hook at line 1194
static mixed
navigationMenu(array $params)
This hook allows modification of the navigation menu.
in CRM_Utils_Hook at line 1217
static mixed
merge(string $type, array $data, int $mainId = NULL, int $otherId = NULL, array $tables = NULL)
This hook allows modification of the data used to perform merging of duplicates.
in CRM_Utils_Hook at line 1235
static mixed
alterLocationMergeData(array $blocksDAO, int $mainId, int $otherId, array $migrationInfo)
This hook allows modification of the data calculated for merging locations.
in CRM_Utils_Hook at line 1247
static mixed
notePrivacy(array $noteValues)
This hook provides a way to override the default privacy behavior for notes.
in CRM_Utils_Hook at line 1268
static mixed
export(string $exportTempTable, array $headerRows, array $sqlColumns, int $exportMode)
This hook is called before record is exported as CSV.
in CRM_Utils_Hook at line 1287
static mixed
dupeQuery(string $obj, string $type, array $query)
This hook allows modification of the queries constructed from dupe rules.
in CRM_Utils_Hook at line 1308
static mixed
emailProcessor(string $type, array $params, object $mail, array $result, string $action = NULL)
This hook is called AFTER EACH email has been processed by the script bin/EmailProcessor.php
in CRM_Utils_Hook at line 1334
static mixed
import(string $object, string $usage, string $objectRef, array $params)
This hook is called after a row has been processed and the record (and associated records imported
in CRM_Utils_Hook at line 1354
static mixed
alterAPIPermissions(string $entity, string $action, array $params, array $permissions)
This hook is called when API permissions are checked (cf. civicrm_api3_api_check_permission() in api/v3/utils.php and _civicrm_api3_permissions() in CRM/Core/DAO/permissions.php).
in CRM_Utils_Hook at line 1366
static mixed
postSave(CRM_Core_DAO $dao)
in CRM_Utils_Hook at line 1384
static mixed
summaryActions(array $actions, int $contactID = NULL)
This hook allows user to customize context menu Actions on contact summary page.
in CRM_Utils_Hook at line 1412
static mixed
searchColumns(string $objectName, array $headers, array $rows, array $selector)
This hook is called from CRM_Core_Selector_Controller through which all searches in civicrm go.
This enables us hook implementors to modify both the headers and the rows
The BIGGEST drawback with this hook is that you may need to modify the result template to include your fields. The result files are CRM/{Contact,Contribute,Member,Event...}/Form/Selector.tpl
However, if you use the same number of columns, you can overwrite the existing columns with the values that you want displayed. This is a hackish, but avoids template modification.
in CRM_Utils_Hook at line 1429
static null
buildUFGroupsForModule(string $moduleName, array $ufGroups)
This hook is called when uf groups are being built for a module.
in CRM_Utils_Hook at line 1454
static null
emailProcessorContact(string $email, int $contactID, array $result)
This hook is called when we are determining the contactID for a specific email address
in CRM_Utils_Hook at line 1494
static mixed
alterMailingLabelParams(array $args)
Hook definition for altering the generation of Mailing Labels.
in CRM_Utils_Hook at line 1516
static mixed
alterContent($content, $context, $tplName, $object)
This hooks allows alteration of generated page content.
in CRM_Utils_Hook at line 1538
static mixed
alterTemplateFile($formName, $form, $context, $tplName)
This hooks allows alteration of the tpl file used to generate content. It differs from the altercontent hook as the content has already been rendered through the tpl at that point
in CRM_Utils_Hook at line 1563
static mixed
triggerInfo($info, string $tableName = NULL)
This hook collects the trigger definition from all components.
in CRM_Utils_Hook at line 1577
static mixed
alterLogTables(array $logTableSpec)
This hook allows changes to the spec of which tables to log.
in CRM_Utils_Hook at line 1590
static
install()
This hook is called when a module-extension is installed.
Each module will receive hook_civicrm_install during its own installation (but not during the installation of unrelated modules).
in CRM_Utils_Hook at line 1603
static
uninstall()
This hook is called when a module-extension is uninstalled.
Each module will receive hook_civicrm_uninstall during its own uninstallation (but not during the uninstallation of unrelated modules).
in CRM_Utils_Hook at line 1616
static
enable()
This hook is called when a module-extension is re-enabled.
Each module will receive hook_civicrm_enable during its own re-enablement (but not during the re-enablement of unrelated modules).
in CRM_Utils_Hook at line 1629
static
disable()
This hook is called when a module-extension is disabled.
Each module will receive hook_civicrm_disable during its own disablement (but not during the disablement of unrelated modules).
in CRM_Utils_Hook at line 1644
static mixed
alterReportVar($varType, $var, $object)
in CRM_Utils_Hook at line 1665
static bool|null
upgrade(string $op, $queue = NULL)
This hook is called to drive database upgrades for extension-modules.
in CRM_Utils_Hook at line 1683
static mixed
postEmailSend(array $params)
This hook is called when an email has been successfully sent by CiviCRM, but not on an error.
in CRM_Utils_Hook at line 1699
static mixed
postMailing(int $mailingId)
This hook is called when a CiviMail mailing has completed
in CRM_Utils_Hook at line 1715
static mixed
alterSettingsFolders(array $settingsFolders)
This hook is called when Settings specifications are loaded.
in CRM_Utils_Hook at line 1734
static mixed
alterSettingsMetaData(array $settingsMetaData, int $domainID, mixed $profile)
This hook is called when Settings have been loaded from the xml It is an opportunity for hooks to alter the data
in CRM_Utils_Hook at line 1752
static null
apiWrappers(API_Wrapper[] $wrappers, mixed $apiRequest)
This hook is called before running an api call.
in CRM_Utils_Hook at line 1767
static null
cron(CRM_Core_JobManager $jobManager)
This hook is called before running pending cron jobs.
in CRM_Utils_Hook at line 1785
static null
permission(array $permissions)
This hook is called when loading CMS permissions; use this hook to modify the array of system permissions for CiviCRM.
in CRM_Utils_Hook at line 1804
static null
permission_check(string $permission, bool $granted)
This hook is called when checking permissions; use this hook to dynamically escalate user permissions in certain use cases (cf. CRM-19256).
in CRM_Utils_Hook at line 1816
static
unhandledException(CRM_Core_Exception $exception, mixed $request = NULL)
in CRM_Utils_Hook at line 1838
static null
entityTypes(array[] $entityTypes)
This hook is called for declaring managed entities via API.
Note: This is a preboot hook. It will dispatch via the extension/module subsystem but not the Symfony EventDispatcher.
in CRM_Utils_Hook at line 1849
static
eventDefs(CiviEventInspector $inspector)
Build a description of available hooks.
in CRM_Utils_Hook at line 1862
static mixed
buildProfile(string $profileName)
This hook is called while preparing a profile form.
in CRM_Utils_Hook at line 1873
static mixed
validateProfile(string $profileName)
This hook is called while validating a profile form submission.
in CRM_Utils_Hook at line 1884
static mixed
processProfile(string $profileName)
This hook is called processing a valid profile form submission.
in CRM_Utils_Hook at line 1895
static mixed
viewProfile(string $profileName)
This hook is called while preparing a read-only profile screen
in CRM_Utils_Hook at line 1906
static mixed
searchProfile(string $profileName)
This hook is called while preparing a list of contacts (based on a profile)
in CRM_Utils_Hook at line 1926
static null
alterBadge(string $labelName, object $label, array $format, array $participant)
This hook is invoked when building a CiviCRM name badge.
in CRM_Utils_Hook at line 1944
static mixed
alterBarcode(array $data, string $type = 'barcode', string $context = 'name_badge')
This hook is called before encoding data in barcode.
in CRM_Utils_Hook at line 1962
static mixed
alterMailer(object $mailer, string $driver, array $params)
Modify or replace the Mailer object used for outgoing mail.
in CRM_Utils_Hook at line 1982
static mixed
alterMail(object $mailer, string $driver, array $params)
deprecated
deprecated
Deprecated: Misnamed version of alterMailer(). Remove post-4.7.x.
Modify or replace the Mailer object used for outgoing mail.
in CRM_Utils_Hook at line 2002
static mixed
queryObjects(array $queryObjects, string $type = 'Contact')
This hook is called while building the core search query, so hook implementers can provide their own query objects which alters/extends core search.
in CRM_Utils_Hook at line 2017
static mixed
dashboard_defaults(array $availableDashlets, array $defaultDashlets)
This hook is called while viewing contact dashboard.
in CRM_Utils_Hook at line 2033
static mixed
pre_case_merge(int $mainContactId, int $mainCaseId = NULL, int $otherContactId = NULL, int $otherCaseId = NULL, bool $changeClient = FALSE)
This hook is called before a case merge (or a case reassign)
in CRM_Utils_Hook at line 2049
static mixed
post_case_merge(int $mainContactId, int $mainCaseId = NULL, int $otherContactId = NULL, int $otherCaseId = NULL, bool $changeClient = FALSE)
This hook is called after a case merge (or a case reassign)
in CRM_Utils_Hook at line 2067
static mixed
alterDisplayName(string $displayName, int $contactId, object $dao)
Issue CRM-14276 Add a hook for altering the display name
hook_civicrm_contact_get_displayname(&$display_name, $objContact)
in CRM_Utils_Hook at line 2097
static null
angularModules(array $angularModules)
EXPERIMENTAL: This hook allows one to register additional Angular modules
in CRM_Utils_Hook at line 2110
static
caseChange( $analyzer)
This hook fires whenever a record in a case changes.
in CRM_Utils_Hook at line 2133
static mixed
crudLink(array $spec, CRM_Core_DAO $bao, array $link)
Generate a default CRUD URL for an entity.
in CRM_Utils_Hook at line 2164
static
container( $container)
Modify the CiviCRM container - add new services, parameters, extensions, etc.
in CRM_Utils_Hook at line 2172
static mixed
fileSearches(array $fileSearches)
in CRM_Utils_Hook at line 2186
static mixed
check(array $messages)
Check system status.
in CRM_Utils_Hook at line 2198
static mixed
batchQuery(string $query)
This hook is called when a query string of the CSV Batch export is generated.
in CRM_Utils_Hook at line 2219
static mixed
alterDeferredRevenueItems(array $deferredRevenues, array $contributionDetails, bool $update, string $context)
This hook is called to alter Deferred revenue item values just before they are inserted in civicrm_financial_trxn table
in CRM_Utils_Hook at line 2233
static mixed
batchItems(array $results, array $items)
This hook is called when the entries of the CSV Batch export are mapped.
in CRM_Utils_Hook at line 2248
static
coreResourceList(array $list, string $region)
This hook is called when core resources are being loaded
in CRM_Utils_Hook at line 2265
static
entityRefFilters(array $filters)
Allows the list of filters on the EntityRef widget to be altered.
in CRM_Utils_Hook at line 2279
static mixed
idsException(array $skip)
This hook is called for bypass a few civicrm urls from IDS check.
in CRM_Utils_Hook at line 2295
static mixed
geocoderFormat(string $geoProvider, array $values, SimpleXMLElement $xml)
This hook is called when a geocoder's format method is called.
in CRM_Utils_Hook at line 2309
static mixed
inboundSMS(CRM_SMS_Message $message)
This hook is called before an inbound SMS is processed.
in CRM_Utils_Hook_DrupalBase at line 91
buildModuleList()
Build the list of modules to be processed for hooks.