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
| Method | Description |
|---|---|
__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
| Name | Type | Default | Description |
|---|---|---|---|
$entry | array | The entry object. | |
$form | array | The form object. | |
$feed | array | The feed object. | |
$storage_type | StorageTypeInterface | The storage type |
Returns
void
Source: add-ons/save/src/Feature/CopyFileUploads.php:55