SilverStripe\Versioned\GraphQL\Operations\Unpublish
Scaffolds a generic update operation for DataObjects.
Synopsis
class Unpublish
extends PublishOperation
{
- // methods
- protected string createOperationName()
- protected void doMutation()
- protected boolean checkPermission()
- protected void getReadingStage()
- // Inherited methods from PublishOperation
- public void __construct()
- public string getName()
- public void resolve()
- protected array createDefaultArgs()
- protected abstract void checkPermission()
- protected abstract void doMutation()
- protected abstract void createOperationName()
- protected abstract void getReadingStage()
Hierarchy
Methods
protected
- checkPermission()
- createOperationName()
- doMutation()
- getReadingStage() — Set the stage for the read query
Inherited from SilverStripe\Versioned\GraphQL\Operations\PublishOperation
protected
- checkPermission()
- createDefaultArgs() — Use a generated Input type, and require an ID.
- createOperationName()
- doMutation()
- getReadingStage()