'navigation' => 'navigation',
'customData' => 'custom data',
'fields' => 'contact fields',
+ 'contactTypes' => 'contactTypes',
+ 'metadata' => 'metadata',
];
foreach ($basicCaches as $cacheSvc => $cacheGrp) {
$definitionParams = [
// For Caches that we don't really care about the ttl for and/or maybe accessed
// fairly often we use the fastArrayDecorator which improves reads and writes, these
// caches should also not have concurrency risk.
- $fastArrayCaches = ['groups', 'navigation', 'customData', 'fields'];
+ $fastArrayCaches = ['groups', 'navigation', 'customData', 'fields', 'contactTypes', 'metadata'];
if (in_array($cacheSvc, $fastArrayCaches)) {
$definitionParams['withArray'] = 'fast';
}
if (\CRM_Utils_Constant::value('CIVICRM_FLEXMAILER_HACK_SERVICES')) {
\Civi\Core\Resolver::singleton()->call(CIVICRM_FLEXMAILER_HACK_SERVICES, [$container]);
}
+ \CRM_Api4_Services::hook_container($container);
\CRM_Utils_Hook::container($container);