IShareReviewSource
in
Interface to be implemented by apps that want to expose their app-managed shares to a share-review app. Implementations are registered through {@see RegisterShareReviewSourceEvent} and resolved from the dependency injection container.
Tags
Attributes
- #[Implementable]
- $since: '34.0.2'
Table of Contents
Methods
- deleteShare() : bool
- Delete an app-specific share.
- getName() : string
- The name of the app, used in the review table
- getShares() : array<int, ShareReviewEntry>
- Return all app-specific shares.
Methods
deleteShare()
Delete an app-specific share.
public
deleteShare(string $shareId) : bool
Parameters
- $shareId : string
Tags
Return values
boolgetName()
The name of the app, used in the review table
public
getName() : string
Tags
Return values
stringgetShares()
Return all app-specific shares.
public
getShares() : array<int, ShareReviewEntry>
The app name is added by the share-review app from getName().