Skip to content

Commit

Permalink
Merge pull request #30537 from eileenmcnaughton/import_prep
Browse files Browse the repository at this point in the history
Handle all the DataSource templates using the same template at the php layer
  • Loading branch information
colemanw authored Jun 27, 2024
2 parents 2bfbdcc + 1d4ee5d commit 1dceefb
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 60 deletions.
4 changes: 4 additions & 0 deletions CRM/Import/Form/DataSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ abstract class CRM_Import_Form_DataSource extends CRM_Import_Forms {
*/
protected $templateValues = [];

public function getTemplateFileName(): string {
return 'CRM/Import/Form/DataSource.tpl';
}

/**
* Set variables up before form is built.
*/
Expand Down
10 changes: 0 additions & 10 deletions templates/CRM/Activity/Import/Form/DataSource.tpl

This file was deleted.

10 changes: 0 additions & 10 deletions templates/CRM/Contact/Import/Form/DataSource.tpl

This file was deleted.

10 changes: 0 additions & 10 deletions templates/CRM/Contribute/Import/Form/DataSource.tpl

This file was deleted.

10 changes: 0 additions & 10 deletions templates/CRM/Custom/Import/Form/DataSource.tpl

This file was deleted.

10 changes: 0 additions & 10 deletions templates/CRM/Event/Import/Form/DataSource.tpl

This file was deleted.

10 changes: 0 additions & 10 deletions templates/CRM/Member/Import/Form/DataSource.tpl

This file was deleted.

0 comments on commit 1dceefb

Please sign in to comment.