Skip to content

Commit

Permalink
Merge pull request #120 from creative-commoners/pulls/4/replace-exten…
Browse files Browse the repository at this point in the history
…sion-subclasses

API Replace Extension subclasses
  • Loading branch information
GuySartorelli authored Aug 28, 2024
2 parents 09c8f63 + df423b5 commit 4a21683
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Extensions/UserFormUseQueuedExportExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\GridField\GridFieldExportButton;
use SilverStripe\GridfieldQueuedExport\Forms\GridFieldQueuedExportButton;
use SilverStripe\ORM\DataExtension;
use SilverStripe\Core\Extension;
use SilverStripe\UserForms\Model\UserDefinedForm;

/**
* Adjusts UserDefinedForm to use GridFieldQueuedExportButton instead of GridFieldExportButton (the default)
*
* @extends DataExtension<UserDefinedForm>
* @extends Extension<UserDefinedForm>
*/
class UserFormUseQueuedExportExtension extends DataExtension
class UserFormUseQueuedExportExtension extends Extension
{
protected function updateCMSFields(FieldList $fields)
{
Expand Down

0 comments on commit 4a21683

Please sign in to comment.