+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017 |
+ | Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* Array of parameters determined by getfields.
*/
function _civicrm_api3_recurring_entity_get_spec(&$params) {
- $params['entity_table']['options'] = array(
+ $params['entity_table']['options'] = [
'civicrm_event' => 'civicrm_event',
'civicrm_activity' => 'civicrm_activity',
- );
+ ];
}
/**
* Array of parameters determined by getfields.
*/
function _civicrm_api3_recurring_entity_create_spec(&$params) {
- $params['entity_table']['options'] = array(
+ $params['entity_table']['options'] = [
'civicrm_event' => 'civicrm_event',
'civicrm_activity' => 'civicrm_activity',
- );
+ ];
$params['entity_table']['api.required'] = 1;
}