SilverStripe\AssetAdmin\GraphQL\PublishFileMutationCreator
Synopsis
class PublishFileMutationCreator
extends PublicationMutationCreator
implements
OperationResolver
{
- // members
- protected string $name = 'publishFiles';
- protected string $description = 'Publishes a list of files';
- // Inherited members from PublicationMutationCreator
- protected $name;
- protected $description;
- protected array $warningMessages;
- // methods
- protected string sourceStage()
- protected boolean hasPermission()
- protected File|Notice mutateFile()
- // Inherited methods from PublicationMutationCreator
- public array attributes()
- public Type type()
- public array args()
- public array resolve()
- protected void addWarningMessage()
- protected abstract string sourceStage()
- protected abstract File|Notice mutateFile()
- protected abstract boolean hasPermission()
Hierarchy
Extends
Implements
- SilverStripe\GraphQL\OperationResolver
Members
protected
- $description — string
- $description — string
- $name — string
- $name — string
- $warningMessages — array
Methods
protected
Inherited from SilverStripe\AssetAdmin\GraphQL\PublicationMutationCreator
protected
- addWarningMessage()
- hasPermission() — Return true if the member has permission to do the mutation
- mutateFile() — Apply the mutation
- sourceStage() — The stage that the file should be fetched from before mutation