Restructure Storage to new paradigm
This commit is contained in:
parent
24f8ee8e67
commit
2ab0d06996
29 changed files with 229 additions and 199 deletions
|
@ -544,7 +544,7 @@ Called when a custom storage is used (e.g. webdav_storage)
|
|||
|
||||
Hook data:
|
||||
- **name** (input): the name of the used storage backend
|
||||
- **data['storage']** (output): the storage instance to use (**must** implement `\Friendica\Model\Storage\IWritableStorage`)
|
||||
- **data['storage']** (output): the storage instance to use (**must** implement `\Friendica\Core\Storage\IWritableStorage`)
|
||||
|
||||
### storage_config
|
||||
|
||||
|
@ -552,7 +552,7 @@ Called when the admin of the node wants to configure a custom storage (e.g. webd
|
|||
|
||||
Hook data:
|
||||
- **name** (input): the name of the used storage backend
|
||||
- **data['storage_config']** (output): the storage configuration instance to use (**must** implement `\Friendica\Model\Storage\IStorageConfiguration`)
|
||||
- **data['storage_config']** (output): the storage configuration instance to use (**must** implement `\Friendica\Core\Storage\Capability\IConfigureStorage`)
|
||||
|
||||
## Complete list of hook callbacks
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue