Skip to main content

GravityKit\GravityExport\Save\Feature\CopyFileUploads

Feature that copies the file uploads of an entry with the entry to the off site storage type.

Since: $ver$

Source: add-ons/save/src/Feature/CopyFileUploads.php:21

Details

  • Kind: class
  • Namespace: GravityKit\GravityExport\Save\Feature

Methods

MethodDescription
__construct()Register hooks.
__invoke()Trigger the feature.

Method Reference

__construct()

public function __construct()

Register hooks.

Since: $ver$

Source: add-ons/save/src/Feature/CopyFileUploads.php:39

__invoke()

public function __invoke( array $entry, array $form, array $feed, StorageTypeInterface $storage_type ): void

Trigger the feature.

Parameters

NameTypeDefaultDescription
$entryarrayThe entry object.
$formarrayThe form object.
$feedarrayThe feed object.
$storage_typeStorageTypeInterfaceThe storage type

Returns

  • void

Source: add-ons/save/src/Feature/CopyFileUploads.php:55