added JS for Delete
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
class CRM_EntityTemplates_BAO_EntityTemplates extends CRM_Core_DAO_EntityTemplates {
|
||||
|
||||
/**
|
||||
* Build Fiscal year option list.
|
||||
* Build Entity option list.
|
||||
*
|
||||
*/
|
||||
public static function getEntityTypes() {
|
||||
@ -15,6 +15,14 @@ class CRM_EntityTemplates_BAO_EntityTemplates extends CRM_Core_DAO_EntityTemplat
|
||||
return array_column($result['values'], 'value', 'value');
|
||||
}
|
||||
|
||||
/**
|
||||
* Create Entity Template.
|
||||
*
|
||||
* @param array $params
|
||||
*
|
||||
* @throws Exception
|
||||
* @return CRM_EntityTemplates_BAO_EntityTemplates|CRM_Core_Error
|
||||
*/
|
||||
public static function create($params) {
|
||||
|
||||
if (empty($params['entity_table'])) {
|
||||
|
Reference in New Issue
Block a user