];
if (!($this->_action & CRM_Core_Action::DELETE)) {
$buttons[] = [
- 'type' => 'submit',
+ 'type' => 'upload',
'name' => ts('Save and Done'),
'subName' => 'done',
];
* The input form values.
* @param array $files
* The uploaded files if any.
- * @param array $self
+ * @param self $self
*
* @return array
* array of errors