SilverStripe\AssetAdmin\GraphQL\PublicationMutationCreator
Synopsis
class PublicationMutationCreator
extends MutationCreator
implements
OperationResolver
{
- // members
- protected $name;
- protected $description;
- protected array $warningMessages = ;
- // methods
- 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
- SilverStripe\GraphQL\MutationCreator
Implements
- SilverStripe\GraphQL\OperationResolver
Members
protected
- $description — string
- $name — string
- $warningMessages — array
Methods
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