$configured = TRUE;
$extRoot = __DIR__ . DIRECTORY_SEPARATOR;
- $extDir = $extRoot . 'templates';
- CRM_Core_Smarty::singleton()->addTemplateDir($extDir);
-
$include_path = $extRoot . PATH_SEPARATOR . get_include_path();
set_include_path($include_path);
// Based on <compatibility>, this does not currently require mixin/polyfill.php.
}
}
}
-
-/**
- * (Delegated) Implements hook_civicrm_entityTypes().
- *
- * Find any *.entityType.php files, merge their content, and return.
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes
- */
-function _afform_civix_civicrm_entityTypes(&$entityTypes) {
- $entityTypes = array_merge($entityTypes, [
- 'CRM_Afform_DAO_AfformSubmission' => [
- 'name' => 'AfformSubmission',
- 'class' => 'CRM_Afform_DAO_AfformSubmission',
- 'table' => 'civicrm_afform_submission',
- ],
- ]);
-}
];
}
-/**
- * Implements hook_civicrm_entityTypes().
- *
- * Declare entity types provided by this module.
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_entityTypes
- */
-function afform_civicrm_entityTypes(&$entityTypes) {
- _afform_civix_civicrm_entityTypes($entityTypes);
-}
-
/**
* Implements hook_civicrm_buildAsset().
*/
<comments>The Form Core extension is required to use any dynamic form. To administer and edit forms, also install the FormBuilder extension.</comments>
<civix>
<namespace>CRM/Afform</namespace>
- <format>22.12.1</format>
+ <format>23.02.0</format>
</civix>
<classloader>
<psr4 prefix="Civi\" path="Civi"/>
<mixin>ang-php@1.0.0</mixin>
<mixin>mgd-php@1.0.0</mixin>
<mixin>scan-classes@1.0.0</mixin>
+ <mixin>smarty-v2@1.0.0</mixin>
+ <mixin>entity-types-php@1.0.0</mixin>
</mixins>
<upgrader>CRM_Afform_Upgrader</upgrader>
</extension>