Field Type External Storage gateway base class.
Properties¶
$gateway
¶
GatewayBasedStorage.php
:
25
Field Type External Storage Gateway.
|
|
Methods¶
__construct()
¶
GatewayBasedStorage.php
:
31
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$gateway | StorageGatewayInterface | - | - |
copyLegacyField()
¶
GatewayBasedStorage.php
:
50
This method is used exclusively by Legacy Storage to copy external data of existing field in main language to the untranslatable field not passed in create or update struct, but created implicitly in storage layer.
|
|
By default the method falls back to the FieldStorage::storeFieldData(). External storages implement this method as needed.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$versionInfo | VersionInfo | - | - |
$field | Field | - | - |
$originalField | Field | - | - |
$context | array<string|int, mixed> | - | - |
Return values
bool|null
Same as FieldStorage::storeFieldData().